tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
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 

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

Thanks to all


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message