1 Reply Latest reply on Sep 16, 2008 4:33 AM by eefash ev

    Deployment of Startup class

    eefash ev Newbie


      I have doubt regarding the deployment of a startup class for my application.

      I have created a startup class (service) by extending ServiceMBeanSupport and created the sar file. This startup class have to do some initialisation for my application, which is deployed as a ear file.
      Now my doubt is that....

      1) How can i access an ejb, which resides in my ear, from the startup class? The problem here is that the .sar files will be deploying prior to the deployment of .ear files. Any way to deplay the deployment of the sar files?

      2) what is best method to deploy a sar file? independent deployment or along with my ear file?

      3) Any document available on these?

      Thanks is advance...