Title: Timers
Jay:
 
To your first question: The advanced java list is a good place for general java topics. It's at

[EMAIL PROTECTED]

As far as timers, I've done this in my companies open-source project, the Expresso Framework. You can get a copy of the code at http://www.javacorporate.com, and the object you're looking for is com.javacorporate.common.server.TimerServer. It does a "sleep for while, check a job queue" loop in the "checkQueue" method that you might find useful.

Hope that helps!

Mike

Javacorporate Ltd.

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]On Behalf Of Jay Baker
Sent: Wednesday, September 01, 1999 12:29 PM
To: [EMAIL PROTECTED]
Subject: Timers

A bit off topic again (can someone recommend a good [perhaps sun] mailing list for more generic, everyday java questions?) ...

I have an object running in a process in a JVM. I want this object to go check sonething, say every X minutes. What is a good way to implement this timer?

Thanks in advance.

Jay Baker

  • Timers Jay Baker
    • Michael Nash

Reply via email to