That seems unnecessarily complicated. Why not just start the daemon Thread from - say - a ServletContextListener for an app that gets initialized on server startup?
Joined: Nov 13, 2006
Well, that would probably be a cleaner approach. In fact I came across such a suggestion on the web somewhere. But still wanted to explore other alternatives. Looks like it's time I revisited the servlet container features of Tomcat. I was actually viewing Tomcat from a management/monitoring perspective,so didn't quite consider this approach.