tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "atreyuas@ngi.it" <atrey...@ngi.it>
Subject How to load a static class on Tomcat startup
Date Fri, 01 Jun 2007 15:51:20 GMT
Hello everybody,
I want to know how I can configure Tomcat to load a Singleton class on his 
startup routine? This class implement a cache that I want to stay in memory 
until Tomcat is shutted down.

I've read about context but it seem to load the class only on a particular URL 
request..

I want the class to be loaded with Tomcat, without any request is made.

Thanks to all

Andrea


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message