This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi There, I want to run my java class with the tomcat instance (It means whenever the Tomcat is started, my java class should be instantiated ) The reason for doing this is that i have 'schedule reports' functionality to be implemented in my project.
For this i have written a java class (with the java.util.TimerTask)This class should continuosly run with tomcat and according to the schedule it will call the releated java class.
Can anybody tell me how to integrate my 'scheduler' class with Tomcat so that whenever tomcat is running my class should also run with it???