geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <>
Subject Re: How to create timer for my SLSB?
Date Wed, 06 Aug 2008 19:12:16 GMT

On Aug 6, 2008, at 8:57 AM, Beniamin Mazan wrote:

> I got SLSB with method annotated with @Timeout. I want to initialize  
> _one_
> timer for this bean class on application deploy / start. I got no any
> servlets, it's only EJB module with SLSB beans.
> Does Geronimo provide any way to realize functionality as I  
> described above
> ?

EJB 3.1 will provide the ability to automatically schedule timers via  
annotation.  Another EJB 3.1 option will be to create the timers in an  
@Singleton ejb that loads on startup via @Startup.

For now, a custom gbean might work.


View raw message