[jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule?

wdfink do-not-reply at jboss.com
Mon Jul 24 07:02:32 EDT 2006


Yes,
you should use a Timer.

implement TimerObject in you StatelessSessionBean, EntityBean or MessageBean.
In your application set a Timer for this Bean.
After that the timout method of your bean is called when the timeout has come ....

The Timer is persistent (since 4.0.4 also if you shutdown the JBoss) as long as the application delete it.

For more info see sun or jboss tutorials or some books ;-)

Wolf

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

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



More information about the jboss-user mailing list