[jboss-user] [EJB 3.0] - How to kick off a task as soon as the EJB app is up and runn

tonylmai do-not-reply at jboss.com
Fri Jun 1 16:37:41 EDT 2007


Hi all,

When my EJB app is up, I would like it kick off a recovery task immediately and not waiting for the first business method to be invoked.

Is there such a method or annotation that I could use to do such thing? My understanding is that @PostConstruct will be invoked when the (SLSB) bean is first constructed. The thing I am not sure when this bean would be constructed.

Any idea?

Thanks

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

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



More information about the jboss-user mailing list