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?