users@glassfish.java.net

Re: How to re-initiate timers after redeployment phase?

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 Apr 2010 16:15:23 PDT

If you are using GlassFish v3, the EJB 3.1 has new feature of automatic timers (specified via @Schedule(s) annotation or a corresponding entry in the deployment descriptor). The EJB container will create such timers on deploy.

If you use older GlassFish version, you can look at ServletContextListener and call EJB to create timers if none are found.

HTH,
-marina
[Message sent by forum member 'mvatkina']

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