On Tue, Dec 21, 2004 at 03:37:26PM -0700, Dennis Payne wrote:
: It is possible to create a servlet thread in the init() method.  That
: thread sould stay alive and run something every thirty minutes.

Yes and no. ;)
It's possible to use a servlet's init() method for this; but per the
spec, containers are free to initialize a servlet class as many times as
they see fit.

Much safer to use a ContextListener in this case, as those are triggered
only on app (context) startup and shutdown.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to