Tuesday, September 8, 2015

Loading my small java code on servlet start up

I was confused about how to execute my java code automatically when servlet container is started. Found a quick solution on this
http://crunchify.com/how-to-run-java-program-automatically-on-tomcat-startup/

Here init method of any servlet could be used to run or load some code.


No comments:

Post a Comment