Captain Cid schrieb am 09.01.2011 um 08:27 (-0800):
> I want to start a new thread in service impl constructor.

That's not necessarily the best place.

> This is because I need to run a thread will continuously do some
> operation in background using database. And I need to be able to stop
> it when tomcat is shutdown.

javax.servlet.ServletContextListener

-- 
Michael Ludwig

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to