1 Reply Latest reply on Sep 15, 2004 11:56 AM by Cristian Botiza

    example bmp dd

    louie171 Newbie

      i'm trying write a deployment descritpor for a bmp entity bean.

      The company i work for use a file called jbosscmp-jdbc.xml as they have only used cmp up to now. They dont have/use a jboss.xml file.

      Can I put the bmp in here also is there an exmaple od dd that uses, I'm a newbie having just finished uni.

        • 1. Re: example bmp dd
          Cristian Botiza Newbie

          You MUST declare your BMP bean in jboss.xml, because this file is used to bind JNDI names to your beans (at least for this purpose). The syntax is the following:

          <enterprise-beans>
          <!-- for your BMP entity bean -->
          <ejb-name>...</ejb-name><!--the name you declared for your BMP bean in the ejb-jar.xml file-->
          <local-jndi-name>ejb/...</local-jndi-name><!--use jndi-name if you require remote access, although this is not recommended-->


          </enterprise-beans>

          You may also want to browse the online documentation for other usages of the jboss.xml file