0 Replies Latest reply on Sep 13, 2003 11:19 AM by linifris

    jboss-ejb-jar

    linifris Newbie

      I need deploy an entity bean and a session bean in the jboss, but I do not know how to make it because I tried with the following ejb-jar.jar file but it did not run. Could you please tell me how do I write the ejb-jar.jar file?


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

      <ejb-name>Prueba</ejb-name>
      buscar.PruebaHome
      buscar.Prueba
      <ejb-class>buscar.PruebaBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>java.lang.String</prim-key-class>
      False
      <cmp-field>
      <field-name>usuario</field-name>
      </cmp-field>
      <cmp-field>
      <field-name>nombre</field-name>
      </cmp-field>
      <primkey-field>usuario</primkey-field>



      <ejb-name>validar</ejb-name>
      prueba.validarHome
      prueba.validar
      <ejb-class>prueba.validarBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>



      </enterprise-beans>

      </ejb-jar>