Thread stuff in J2EE is a bit complicated; you're not supposed to just
start your own thread. Here's a quote from a mail on the Tomcat list
(by Erik Weber):This is covered by JMX. For example, see javax.management.timer.Timer (which can be initialized/destroyed by a ServletContextListener). The idea is that you can schedule asynchronous operations but leave the Threads to be managed by the server. Bill Mitja Lustrek wrote:
|
- Initializing a web service before invoking its methods Mitja Lustrek
- Initializing a web service before invoking its methods Mitja Lustrek
- Bill Keese