• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Periodic worker threads.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Periodic worker threads. (From: Kent Harris <email@hidden>)

  • Prev by Date: Periodic worker threads.
  • Next by Date: Components on a page question...
  • Previous by thread: Periodic worker threads.
  • Next by thread: Components on a page question...
  • Index(es):
    • Date
    • Thread