Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Listener for time change

  Asked By: Colleen    Date: Oct 25    Category: Java    Views: 31699
  

I am doing a project,in which as soon as the system time changes (say 12:00) ,i have to do some other work like(sending message).
How to use listener for system time change.

Please tell me how i should proceed.
I will be waiting for u r reply.

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Maurice Hanson     Answered On: Oct 25

You can 'schedule' a 'Timer' to execute a 'TimerTask' at an specific
'Date' :)

 
Answer #2    Answered By: Bellona Lopez     Answered On: Oct 25

Nevertheless, you might want to have a look at EJB 2.1's
timers. If you're not
developing on top of EJB 2.1, you might want to have a look at OpenSymphony's
Quartz.

 
Answer #3    Answered By: Jonathan Harrison     Answered On: Oct 25

you might be able to use EJB timer service for this

example:

java.sun.com/.../Session5.html

 
Answer #4    Answered By: Gerald Cruz     Answered On: Oct 25

The Quartez Timer(product of Open Symphony Group) is a
best Sloution 4 job scheduling system....
http://www.opensymphony.com/quartz/

 
Didn't find what you were looking for? Find more on Listener for time change Or get search suggestion and latest updates.




Tagged: