I want to start "emailer" after deploying on tomcat. Emailer should check in database terms of task and sends email if deadline is coming (it is school semestral app). But i dont know how to start up timer (emailer class) after deploying. I have read many of tomcat documentation and googled it.
I know how to do it seperetly. Emailer can be start up like a standard java app. And maybe it is smarter solution. But i want to know if it is possible.