users@glassfish.java.net

How to re-initiate timers after redeployment phase?

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 Apr 2010 06:37:19 PDT

Hi.

I have a question related to the redeployment of EJBs containing timers. How can I ensure that all my timers will re-initiate after a redeployment of an application? Since timers are part of the application I lose all timers on undeployment and redeployment.
My first idea was to invoke a method right after the deployment phase which re-initiates all my timers... but how? Or is there another graceful way?

Many thanks!
[Message sent by forum member 'mabe83']

http://forums.java.net/jive/thread.jspa?messageID=395686