Re: Periodic worker threads.
Re: Periodic worker threads.
- Subject: Re: Periodic worker threads.
- From: Travis Britt <email@hidden>
- Date: Sat, 27 Mar 2004 08:29:59 -0500
On Mar 27, 2004, at 8:13 AM, Kent Harris wrote:
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?
Use WOTimer or java.util.Timer.
How do I establish a proper context if there is no session object?
You can get an Editing Context in the code run by the timer, if that's
what you mean.
tb
_______________________________________________
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.