1 Reply Latest reply on Mar 12, 2002 11:49 AM by jbossid

    deployment descriptor for BMP

    jbossid

      Hi there!
      iam looking to write ejb-jar.xml for a BMP which has primarykey ,localhome .please give any syntax or example.
      Thanks in advance

        • 1. Re: deployment descriptor for BMP
          jbossid

          i got this
          here is the ejb-jar.xml

          <?xml version="1.0" encoding="UTF-8"?>
          <ejb-jar>
          <enterprise-beans>

          <ejb-name>yourbean</ejb-name>
          beanHome
          Beanremoteinterface
          <ejb-class>urBean</ejb-class>
          <session-type>Stateless</session-type>
          <transaction-type>Bean</transaction-type>
          /** the blow require if u are looking a local **/
          <ejb-local-ref>
          <ejb-ref-name>somename</ejb-ref-name>
          <ejb-ref-type></ejb-ref-type>
          <ejb-link></ejb-link>

          <local-home></local-home>
          </ejb-local-ref>

          **/



          <ejb-name>xxrBean</ejb-name>
          <local-home>com.textmine.ejb.CustomerLocalHome</local-home>
          xxLocal
          xxHome
          xx
          <ejb-class>xxBean</ejb-class>
          <prim-key-class>xxPK</prim-key-class>
          <transaction-type>Bean</transaction-type>
          <persistence-type>Bean</persistence-type>
          false



          </enterprise-beans>
          </ejb-jar>