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.
You can 'schedule' a 'Timer' to execute a 'TimerTask' at an specific'Date' :)
Nevertheless, you might want to have a look at EJB 2.1'stimers. If you're notdeveloping on top of EJB 2.1, you might want to have a look at OpenSymphony'sQuartz.
you might be able to use EJB timer service for thisexample:java.sun.com/.../Session5.html
The Quartez Timer(product of Open Symphony Group) is abest Sloution 4 job scheduling system....http://www.opensymphony.com/quartz/