Re: Tomcat Timers/threads?

2005-04-07 Thread Jesper B. Kiær

HI

Take a look at Quartz.

Link:
http://www.opensymphony.com/quartz/

regards
Jesper B. Kiaer

http://www.jezzper.com



-Charl Gerber [EMAIL PROTECTED] wrote: -

To: tomcat-user@jakarta.apache.org
From: Charl Gerber
Date: 04/06/2005 15:11
Subject: Tomcat Timers/threads?

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Timers/threads?

2005-04-07 Thread fed fin
Thank you.
Ted.
--- Jesper B.  Kiær [EMAIL PROTECTED] wrote:
 
 HI
 
 Take a look at Quartz.
 
 Link:
 http://www.opensymphony.com/quartz/
 
 regards
 Jesper B. Kiaer
 
 http://www.jezzper.com
 
 
 
 -Charl Gerber [EMAIL PROTECTED] wrote:
 -
 
 To: tomcat-user@jakarta.apache.org
 From: Charl Gerber
 Date: 04/06/2005 15:11
 Subject: Tomcat Timers/threads?
 
 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:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 

-Ted



__ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Timers/threads?

2005-04-06 Thread Charl Gerber
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Timers/threads?

2005-04-06 Thread Harry Mantheakis
 Does Tomcat 4.1 provide a way to schedule tasks?
 Something similar to java.util.Timer?

AFAIK not in Tomcat, but Quartz might be of interest to you:

http://www.opensymphony.com/quartz/

HTH

Harry Mantheakis
London, UK


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]