<?xml version="1.0"?>

<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>

<ejb-jar>
    <enterprise-beans>
      <entity>
	<ejb-name>beanManaged</ejb-name>
	<home>examples.ejb.basic.beanManaged.AccountHome</home>
	<remote>examples.ejb.basic.beanManaged.Account</remote>
	<ejb-class>examples.ejb.basic.beanManaged.AccountBean</ejb-class>
	<persistence-type>Bean</persistence-type>
	<prim-key-class>java.lang.String</prim-key-class>
	<reentrant>False</reentrant>

        <resource-ref>
         <res-ref-name>jdbc/demoPool</res-ref-name>
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
        </resource-ref>

      </entity>
    </enterprise-beans>
    <assembly-descriptor>
      <container-transaction>
	<method>
	  <ejb-name>beanManaged</ejb-name>
	  <method-intf>Remote</method-intf>
	  <method-name>*</method-name>
	</method>
	<trans-attribute>Required</trans-attribute>
      </container-transaction>
    </assembly-descriptor>
  </ejb-jar>
