1 Reply Latest reply on May 3, 2004 12:22 PM by raja05

    Run task after deployment

    qjafcunuas

      Hi,
      i would like to run a task after my ejb deployement. How can i do ?
      tia
      Bruno

        • 1. Re: Run task after deployment
          raja05

          Write a mbean and pack it as a SAR. Make this mbean depend on the ejb so that it will get invoked after the deployment. Lookup the ServiceLifeCycle thats followed by all the jboss mbeans. If you follow the servicelifecycle and put something in ur start method and depend on ur ejb, ull get what u need.