2 Replies Latest reply on Jun 4, 2007 4:13 AM by ppc

    How to kick off a task as soon as the EJB app is up and runn

      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