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