This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm writing an Poller service(thread based class) which reads from a properties file & sets some LOG parameters of Java logging package. This class would act like a Demon thread, polling in the background every few mintues. I want this Poller class to be invoked/started on start-up of Tomcat web-server. I DON'T want this to be part of any web application.
Can someone please let me know how do I achieve this?