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

    Run task after deployment

    Lamouret Newbie

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

        • 1. Re: Run task after deployment
          Raja Master

          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.