3 Replies Latest reply on Jul 25, 2003 2:23 AM by juhalindfors

    how do you deploy your CMP Application?

    pauster007

      can you give me some examples? im totallyconfused...

        • 1. Re: how do you deploy your CMP Application?

          Put your ejb-jar.xml, jboss.xml and jbosscmp-jdbc.xml inside a META-INF directory in a JAR package. The classes at the root of the JAR under directories matching their Java package declarations.

          Drop the jar into your /deploy directory.

          Any specific issues you find confusing?

          -- Juha

          • 2. Re: how do you deploy your CMP Application?
            pauster007

            im using jboss 3.2.1....ive read somewhere that i need to edit statndardjbosscmp-jdbc.xml and put or edit this tags....
            java:/DefaultDS
            <type-mapping>PostgreSQL 7.3.3</type-mapping>

            Put your ejb-jar.xml, jboss.xml and jbosscmp-jdbc.xml inside a META-INF directory in a JAR package.

            Its the first time ive encountered that i need jbosscmp-jdbc.xml in the META-INF directory...

            so which is which? also do you know any deploy tool that i can use to deploy my CMP application?or im really stuck with XDoclet?

            • 3. Re: how do you deploy your CMP Application?

              The jbosscmp-jdbc.xml is the bean's CMP configuration. The standardjbosscmp-jdbc.xml contains the default values if nothing is provided for the bean.

              Please refer to the JBoss Admin & Dev. book for detailed description on all configuration.

              -- Juha