tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charl Gerber <charlger...@yahoo.com>
Subject Tomcat Timers/threads?
Date Wed, 06 Apr 2005 13:11:09 GMT
Does Tomcat 4.1 provide a way to schedule tasks?
Something similar to java.util.Timer?

BEA WebLogic eg offers a
weblogic.management.timer.Timer which has the same
affect, but is controlled by the application server.

I've been using a java.util.Timer up to now in Tomcat
4.1. I initialize it in the a ServletContextListener
and gracefully kill it there again when the
application stops, but strickly speaking this is
probably not correct. I've had no problems up to now,
though.

Does Tomcat offer a correct(er) solution, or can I
continue with the java.util.Timer?

Thanks!


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


Mime
View raw message