2 Replies Latest reply on Aug 23, 2002 8:23 PM by bakul

    Deploying CMP 2.0 Beans on JBoss 3.0

    bakul

      Hi,

      Can anyone point me to where I can find instructions on the steps to deploy CMP 2.0 EJBs on JBoss3.0? Deploying SessionBeans is pretty much the same as in JBoss2.4 if the bean doesn't make any database calls. But deploying CMP2.0 beans is not the same since you need to add certain files to the deploy dir, which is different for JBoss 2.4 and 3.0. Please don't point me to the QuickStart guide. I already looked at it. The EJB deployment chapters in the guide are empty.

      Any help will be really appreciated!
      Thanks,
      Bakul

        • 1. Re: Deploying CMP 2.0 Beans on JBoss 3.0
          tonik

          you need a ejb-jar.xml, jbosscmp-jdbc.xml and jboss.xml.


          my jbosscmp-jdbc.xml:it only needs a minimum of the CMPentitybean name. Found this in the quickstart draft3..

          <?xml version="1.0" encoding="UTF-8" ?>

          <!-- Created by tonik on 18 August 2002, 14:48 -->

          <jbosscmp-jdbc.xml>
          <enterprise-beans>

          <ejb-name>CMPEntity</ejb-name>


          </enterprise-beans>
          </jbosscmp-jdbc.xml>

          • 2. Re: Deploying CMP 2.0 Beans on JBoss 3.0
            bakul

            Thanks for the reply. I had figured it out anyway.
            What files would I need to modify if I want to use my own DataSource rather than DefaultDS, with some Database other than HyperSonic?

            Thanks
            Bakul