User: salborini
  Date: 00/09/25 19:35:33

  Modified:    src/java/org/jboss/zol/testbean/META-INF ejb-jar.xml
  Log:
  New tests for bean managed transaction demarcation.
  Won't work for now, but I have to commit for Marc to finish testing.
  
  Revision  Changes    Path
  1.6       +27 -1     zola/src/java/org/jboss/zol/testbean/META-INF/ejb-jar.xml
  
  Index: ejb-jar.xml
  ===================================================================
  RCS file: 
/products/cvs/ejboss/zola/src/java/org/jboss/zol/testbean/META-INF/ejb-jar.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ejb-jar.xml       2000/09/08 05:16:12     1.5
  +++ ejb-jar.xml       2000/09/26 02:35:33     1.6
  @@ -9,7 +9,7 @@
               <remote>org.jboss.zol.testbean.interfaces.StatelessSession</remote>
               <ejb-class>org.jboss.zol.testbean.bean.StatelessSessionBean</ejb-class>
               <session-type>Stateless</session-type>
  -            <transaction-type>Bean</transaction-type>
  +            <transaction-type>Container</transaction-type>
               <env-entry>
                   <env-entry-name>myNameProp</env-entry-name>
                   <env-entry-type>java.lang.String</env-entry-type>
  @@ -29,6 +29,32 @@
               <ejb-class>org.jboss.zol.testbean.bean.StatefulSessionBean</ejb-class>
               <session-type>Stateful</session-type>
               <transaction-type>Container</transaction-type>
  +        </session>
  +         <session>
  +            <description>Nextgen test bean BMT stateful</description>
  +            <ejb-name>BMTStateful</ejb-name>
  +            <home>org.jboss.zol.testbean.interfaces.BMTStatefulHome</home>
  +            <remote>org.jboss.zol.testbean.interfaces.BMTStateful</remote>
  +            <ejb-class>org.jboss.zol.testbean.bean.BMTStatefulBean</ejb-class>
  +            <session-type>Stateful</session-type>
  +            <transaction-type>Bean</transaction-type>
  +            <reentrant>True</reentrant>
  +                     <resource-ref>
  +                <description>A jdbc connection for the BMT bean</description>
  +                <res-ref-name>jdbc/myDatabase</res-ref-name>
  +                <res-type>javax.sql.DataSource</res-type>
  +                <res-auth>Container</res-auth>
  +            </resource-ref>
  +        </session>
  +         <session>
  +            <description>Nextgen test bean BMT stateless</description>
  +            <ejb-name>BMTStateless</ejb-name>
  +            <home>org.jboss.zol.testbean.interfaces.BMTStatelessHome</home>
  +            <remote>org.jboss.zol.testbean.interfaces.BMTStateless</remote>
  +            <ejb-class>org.jboss.zol.testbean.bean.BMTStatelessBean</ejb-class>
  +            <session-type>Stateless</session-type>
  +            <transaction-type>Bean</transaction-type>
  +            <reentrant>True</reentrant>
           </session>
            <session>
               <description>Nextgen test bean TX stateful</description>
  
  
  

Reply via email to