4 Replies Latest reply on Apr 15, 2003 4:36 AM by darranl

    EJB Deployment with JBoss

    shashank

      Dear All,
      I am just entering into JBoss world. Currently I am using the architecture where JBoss is preferred over WEbLogic.

      I need guidance from this forum, about the deployment process of EJB in JBoss.

      If I use XDoclet, then what should be directory structure, and whether only bean is sufficient along with build.xml?? What's about the client??

      IF there is any other method of deployment other than XDoclet?? If yes then please explain or guide me.


      Shashank

        • 1. Re: EJB Deployment with JBoss

          Directory structure is up to you. You can get some ideas by looking at existing example projects.

          XDoclet generates the home and remote/local interfaces for you. You only need to write the bean implementation.

          There are other tools that generate these interfaces as well. This is standard J2EE so it works on JBoss too.

          Client you need to work on your own.

          • 2. Re: EJB Deployment with JBoss
            shashank

            Thanks Juha,

            I deployed the bean using XDoclet, client is also working.
            I am interseted in, whether from command prompt can I deploy the bean with JBoss, and what are the steps for that.

            Shashank

            • 3. Re: EJB Deployment with JBoss

              Just copy your jar or ear to JBoss's deploy directory.

              • 4. Re: EJB Deployment with JBoss
                darranl

                If you have already packaged your bean into a jar file all you need to do is copy it to the {jboss.dir}/server/default/deploy folder (Assuming that you are running the default configuration)

                Deployment will then take place automatically.