I like to use a ServletContextListener to do this: start your
service's thread in contextInitialized(), and end it in
contextDestroyed(). Google "ServletContextListener" for more info.
On May 30, 2006, at 3:44 AM, Peter Dawn wrote:
i will try and have a look at it.
another way of looking at my question is, whats the best way of
running a program in the background as a service within the web app
without halting any other processes or programs.
any thought.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Piano music podcast: http://inthehands.com
Other interesting stuff: http://innig.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]