[jboss-user] [EJB 3.0] - Re: TimerBean

klejs do-not-reply at jboss.com
Thu Nov 30 16:11:04 EST 2006


Hi,

The most simple way to do this, if you have a webapp with your deployment, is to use a javax.servlet.ServletContextListener and in the contextInitialized() method intialize your TimerBean.

The Timer Service is very limited in many aspects and there was no changes for the Timer Service in EJB3. You should think of using something like Quartz instead which is more configurable and is easier to use than the Timer Service.

/klejs

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990238#3990238

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990238



More information about the jboss-user mailing list