1 Reply Latest reply on Mar 31, 2004 8:52 AM by jae77

    Detect a new deployment from a Session Bean

    merith

      Hello all,

      I would like to create a Stateless Session Bean that gets notified when a new EJB deployment has happened. ¿Is it possible? ¿And if yes, how?

      Thanks in advance.

      Javier

        • 1. Re: Detect a new deployment from a Session Bean
          jae77

          you're not going to be able to do this w/ a stateless session bean (well, not directly).

          you could write a mbean that registers itself as a lister to the notification events published by the EJBDeployer and then when the mbean gets a notification, it could invoke whatever method you want on the slsb.