Periodic worker threads.
Periodic worker threads.
- Subject: Periodic worker threads.
- From: Kent Harris <email@hidden>
- Date: Sat, 27 Mar 2004 05:13:24 -0800
I have a java client setup wherein I need to periodically do database
processing. For example, every night at midnight I need to look for a
file that may have placed in a directory and process that file into the
database.
Since the client-side isn't involved the normal request-response loop
isn't in play. Do I just spawn a thread from Application.java that
sleeps until midnight and then starts crunching? How do I establish a
proper context if there is no session object?
- Kent
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.