1 Reply Latest reply on Jul 6, 2004 5:32 AM by darranl

    ejb-jar & jboss.xml files

    s_k_tripathi

      please
      my ejb-jar.xml file is this

      <ejb-jar>
      <enterprise-beans>

      <ejb-name>TestEjb</ejb-name>
      hello.HelloHome
      hello.HelloBean
      <ejb-class>hello.HelloEjb</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>

      </enterprise-beans>
      <assembly-descriptor>
      <container-transaction>

      <ejb-name>TestEjb</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Supports</trans-attribute>
      </container-transaction>
      </assembly-descriptor>
      </ejb-jar>


      and the jboss.xml is as follows--


      <enterprise-beans>

      <ejb-name>TestEjb</ejb-name>
      <jndi-name>HelloHome</jndi-name>

      </enterprise-beans>