<?xml version="1.0" encoding="US-ASCII"?>

<!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>
    <description>
    This ejb-jar file contains assembled enterprise beans that are
    part of employee self-service application.
    </description>
    
    <enterprise-beans>
        <!-- 
        ########################################################
        ########################################################
        ######  CMP   E N T I T Y   B E A N S  #################
        ########################################################
        ########################################################
        -->
        
        <!-- 
        ########################################################
        ID:  client/tests/entity/cmp/BasicCmpHome
        ########################################################
        -->
        
        <entity>
            <description>
            The EmployeeRecord entity bean encapsulates access
            to the employee records.The deployer will use
            container-managed persistence to integrate the
            entity bean with the back-end system managing
            the employee records.
            </description>
            <ejb-name>BasicCmpBean</ejb-name>
            <home>org.openejb.test.entity.cmp.BasicCmpHome</home>
            <remote>org.openejb.test.entity.cmp.BasicCmpObject</remote>
            <ejb-class>org.openejb.test.entity.cmp.BasicCmpBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>java.lang.Integer</prim-key-class>
            <reentrant>False</reentrant>
            <primkey-field>primaryKey</primkey-field>
            <resource-ref>
                <description>
                This is a reference to a JDBC database.
                </description>
                <res-ref-name>jdbc/basic/entityDatabase</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </entity>

        <!-- 
        ########################################################
        ID:  client/tests/entity/cmp/allowed_operations/EntityHome
        ########################################################
        -->
        
        <entity>
            <description>
             blah, blah, blah
            </description>
            <ejb-name>AOBasicCmpBean</ejb-name>
            <home>org.openejb.test.entity.cmp.BasicCmpHome</home>
            <remote>org.openejb.test.entity.cmp.BasicCmpObject</remote>
            <ejb-class>org.openejb.test.entity.cmp.AllowedOperationsCmpBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>java.lang.Integer</prim-key-class>
            <reentrant>False</reentrant>
            <primkey-field>primaryKey</primkey-field>
            <resource-ref>
                <description>
                This is a reference to a JDBC database.
                </description>
                <res-ref-name>jdbc/basic/entityDatabase</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </entity>

        <!-- 
        ########################################################
        ID:  client/tests/entity/cmp/EncBean
        ########################################################
        -->
        
        <entity>
            <description>
             blah, blah, blah
            </description>
            <ejb-name>EncCmpBean</ejb-name>
            <home>org.openejb.test.entity.cmp.EncCmpHome</home>
            <remote>org.openejb.test.entity.cmp.EncCmpObject</remote>
            <ejb-class>org.openejb.test.entity.cmp.EncCmpBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>java.lang.Integer</prim-key-class>
            <reentrant>False</reentrant>
            <primkey-field>primaryKey</primkey-field>
            <env-entry>
                <env-entry-name>entity/cmp/references/Boolean</env-entry-name>
                <env-entry-type>java.lang.Boolean</env-entry-type>
                <env-entry-value>true</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/cmp/references/String</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/cmp/references/Double</env-entry-name>
                <env-entry-type>java.lang.Double</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/cmp/references/Long</env-entry-name>
                <env-entry-type>java.lang.Long</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/cmp/references/Float</env-entry-name>
                <env-entry-type>java.lang.Float</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/cmp/references/Integer</env-entry-name>
                <env-entry-type>java.lang.Integer</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/cmp/references/Short</env-entry-name>
                <env-entry-type>java.lang.Short</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/cmp/references/Byte</env-entry-name>
                <env-entry-type>java.lang.Byte</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <ejb-ref> 
                <ejb-ref-name>entity/cmp/beanReferences/cmp_entity</ejb-ref-name> 
                <ejb-ref-type>Entity</ejb-ref-type>
                <home>org.openejb.test.entity.cmp.BasicCmpHome</home>
                <remote>org.openejb.test.entity.cmp.BasicCmpObject</remote>
                <ejb-link>BasicCmpBean</ejb-link>
            </ejb-ref> 
            <ejb-ref> 
                <ejb-ref-name>entity/cmp/beanReferences/stateful</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateful.BasicStatefulHome</home>
                <remote>org.openejb.test.stateful.BasicStatefulObject</remote>
                <ejb-link>BasicStatefulBean</ejb-link>
            </ejb-ref> 
            <ejb-ref> 
                <ejb-ref-name>entity/cmp/beanReferences/stateless</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateless.BasicStatelessHome</home>
                <remote>org.openejb.test.stateless.BasicStatelessObject</remote>
                <ejb-link>BasicStatelessBean</ejb-link>
            </ejb-ref> 
            <resource-ref>
                <res-ref-name>datasource</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
            <resource-ref>
                <res-ref-name>jdbc/basic/entityDatabase</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </entity>

        <!-- 
        ########################################################
        ID:  client/tests/entity/cmp/RMI-over-IIOP/EJBHome
        ########################################################
        -->
        
        <entity>
            <description>
             blah, blah, blah
            </description>
            <ejb-name>Cmp RMI-IIOP Bean</ejb-name>
            <home>org.openejb.test.entity.cmp.RmiIiopCmpHome</home>
            <remote>org.openejb.test.entity.cmp.RmiIiopCmpObject</remote>
            <ejb-class>org.openejb.test.entity.cmp.RmiIiopCmpBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>java.lang.Integer</prim-key-class>
            <reentrant>False</reentrant>
            <primkey-field>primaryKey</primkey-field>
            <ejb-ref> 
                <ejb-ref-name>cmp/rmi-iiop/home</ejb-ref-name> 
                <ejb-ref-type>Entity</ejb-ref-type> 
                <home>org.openejb.test.entity.cmp.EncCmpHome</home>
                <remote>org.openejb.test.entity.cmp.EncCmpObject</remote>
                <ejb-link>EncCmpBean</ejb-link>
            </ejb-ref> 
            <security-role-ref>
                <role-name>TheMan</role-name>
                <role-link>Executive</role-link>
            </security-role-ref>
        </entity>

        <!-- 
        ########################################################
        ########################################################
        ####  S T A T E F U L   S E S S I O N   B E A N S  #####
        ########################################################
        ########################################################
        -->
        
        <!-- 
        ########################################################
        ID:  client/tests/stateful/BasicStatefulHome
        ########################################################
        -->
        
        <session>
            <description>A basic stateful session bean with contianer-managed 
            transaction demarcation that implements the 
            javax.ejb.SessionSynchronization interface.
            </description>
            <ejb-name>BasicStatefulBean</ejb-name>
            <home>org.openejb.test.stateful.BasicStatefulHome</home>
            <remote>org.openejb.test.stateful.BasicStatefulObject</remote>
            <ejb-class>org.openejb.test.stateful.BasicStatefulBean</ejb-class>
            <session-type>Stateful</session-type>
            <transaction-type>Container</transaction-type>
            <security-role-ref>
                <role-name>TheMan</role-name>
                <role-link>Executive</role-link>
            </security-role-ref>
        </session>
        
        <!-- 
        ########################################################
        ID:  client/tests/stateful/BeanManagedBasicStatefulHome
        ########################################################
        -->
        
        <session>
            <description>A basic stateful session bean with bean-managed 
            transaction demarcation.
            </description>
            <ejb-name>Basic BMT StatefulBean</ejb-name>
            <home>org.openejb.test.stateful.BasicStatefulHome</home>
            <remote>org.openejb.test.stateful.BasicStatefulObject</remote>
            <ejb-class>org.openejb.test.stateful.BMTStatefulBean</ejb-class>
            <session-type>Stateful</session-type>
            <transaction-type>Bean</transaction-type>
            <security-role-ref>
                <role-name>TheMan</role-name>
                <role-link>Executive</role-link>
            </security-role-ref>
        </session>
        
        <!-- 
        ########################################################
        ID:  client/tests/stateful/BeanManagedTransactionTests/EJBHome
        ########################################################
        -->
        
        <session>
            <description>A basic stateful session bean with bean-managed 
            transaction demarcation.
            </description>
            <ejb-name>BMT StatefulBean</ejb-name>
            <home>org.openejb.test.stateful.BeanTxStatefulHome</home>
            <remote>org.openejb.test.stateful.BeanTxStatefulObject</remote>
            <ejb-class>org.openejb.test.stateful.BeanTxStatefulBean</ejb-class>
            <session-type>Stateful</session-type>
            <transaction-type>Bean</transaction-type>
            <security-role-ref>
                <role-name>TheMan</role-name>
                <role-link>Executive</role-link>
            </security-role-ref>
            <resource-ref>
                <res-ref-name>datasource</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </session>
        
        <!-- 
        ########################################################
        ID:  client/tests/stateful/EncBean
        ########################################################
        -->
        
        <session>
            <description>A basic stateful session bean with bean-managed 
            transaction demarcation.
            </description>
            <ejb-name>EncStatefulBean</ejb-name>
            <home>org.openejb.test.stateful.EncStatefulHome</home>
            <remote>org.openejb.test.stateful.EncStatefulObject</remote>
            <ejb-class>org.openejb.test.stateful.EncStatefulBean</ejb-class>
            <session-type>Stateful</session-type>
            <transaction-type>Bean</transaction-type>
            <env-entry>
                <env-entry-name>stateful/references/Boolean</env-entry-name>
                <env-entry-type>java.lang.Boolean</env-entry-type>
                <env-entry-value>true</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateful/references/String</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateful/references/Double</env-entry-name>
                <env-entry-type>java.lang.Double</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateful/references/Long</env-entry-name>
                <env-entry-type>java.lang.Long</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateful/references/Float</env-entry-name>
                <env-entry-type>java.lang.Float</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateful/references/Integer</env-entry-name>
                <env-entry-type>java.lang.Integer</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateful/references/Short</env-entry-name>
                <env-entry-type>java.lang.Short</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateful/references/Byte</env-entry-name>
                <env-entry-type>java.lang.Byte</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <ejb-ref> 
                <ejb-ref-name>stateful/beanReferences/bmp_entity</ejb-ref-name> 
                <ejb-ref-type>Entity</ejb-ref-type>
                <home>org.openejb.test.entity.bmp.BasicBmpHome</home>
                <remote>org.openejb.test.entity.bmp.BasicBmpObject</remote>
                <ejb-link>BasicBmpBean</ejb-link>
            </ejb-ref> 
            <ejb-ref> 
                <ejb-ref-name>stateful/beanReferences/stateful</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateful.BasicStatefulHome</home>
                <remote>org.openejb.test.stateful.BasicStatefulObject</remote>
                <ejb-link>BasicStatefulBean</ejb-link>
            </ejb-ref> 
            <ejb-ref> 
                <ejb-ref-name>stateful/beanReferences/stateless</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateless.BasicStatelessHome</home>
                <remote>org.openejb.test.stateless.BasicStatelessObject</remote>
                <ejb-link>BasicStatelessBean</ejb-link>
            </ejb-ref> 
            <security-role-ref>
                <role-name>TheMan</role-name>
                <role-link>Executive</role-link>
            </security-role-ref>
            <resource-ref>
                <res-ref-name>datasource</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </session>
        
        <!-- 
        ########################################################
        ID:  client/tests/stateful/RMI-over-IIOP/EJBHome
        ########################################################
        -->
        
        <session>
            <description>
                The stateful bean for the RMI-IIOP Tests
            </description>
            <ejb-name>Stateful RMI-IIOP Bean</ejb-name>
            <home>org.openejb.test.stateful.RmiIiopStatefulHome</home>
            <remote>org.openejb.test.stateful.RmiIiopStatefulObject</remote>
            <ejb-class>org.openejb.test.stateful.RmiIiopStatefulBean</ejb-class>
            <session-type>Stateful</session-type>
            <transaction-type>Bean</transaction-type>
            <ejb-ref> 
                <ejb-ref-name>stateful/rmi-iiop/home</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateful.EncStatefulHome</home>
                <remote>org.openejb.test.stateful.EncStatefulBean</remote>
                <ejb-link>EncStatefulBean</ejb-link>
            </ejb-ref> 
            <security-role-ref>
                <role-name>TheMan</role-name>
                <role-link>Executive</role-link>
            </security-role-ref>
        </session>
        
        <!-- 
        ########################################################
        ########################################################
        ###  S T A T E L E S S   S E S S I O N   B E A N S  ####
        ########################################################
        ########################################################
        -->
        
        <!-- 
        ########################################################
        ID:  client/tests/stateless/BasicStatelessHome
        ########################################################
        -->
        
        <session>
            <description>A basic stateless session bean with contianer-managed 
            transaction demarcation.
            </description>
            <ejb-name>BasicStatelessBean</ejb-name>
            <home>org.openejb.test.stateless.BasicStatelessHome</home>
            <remote>org.openejb.test.stateless.BasicStatelessObject</remote>
            <ejb-class>org.openejb.test.stateless.BasicStatelessBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
            <env-entry>
                <env-entry-name>stateless/references/JNDI_access_to_java_comp_env</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>Success</env-entry-value>
            </env-entry>
            <ejb-ref> 
                <ejb-ref-name>stateless/beanReferences/Enterprise_bean_access</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateful.BasicStatefulHome</home>
                <remote>org.openejb.test.stateful.BasicStatefulObject</remote>
                <ejb-link>BasicStatefulBean</ejb-link>
            </ejb-ref> 
            <security-role-ref>
                <role-name>BigWig</role-name>
                <role-link>Teller</role-link>
            </security-role-ref>
            <security-role-ref>
                <role-name>HighRoller</role-name>
                <role-link>Manager</role-link>
            </security-role-ref>
            <resource-ref>
                <description>
                This is a reference to a JDBC database.
                </description>
                <res-ref-name>stateless/references/Resource_manager_access</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </session>
        
        <!-- 
        ########################################################
        ID:  client/tests/stateless/BeanManagedBasicStatelessHome
        ########################################################
        -->
        
        <session>
            <description>A basic stateless session bean with bean-managed 
            transaction demarcation.
            </description>
            <ejb-name>Basic BMT StatelessBean</ejb-name>
            <home>org.openejb.test.stateless.BasicStatelessHome</home>
            <remote>org.openejb.test.stateless.BasicStatelessObject</remote>
            <ejb-class>org.openejb.test.stateless.BasicStatelessBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
            <env-entry>
                <env-entry-name>stateless/references/JNDI_access_to_java_comp_env</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>Success</env-entry-value>
            </env-entry>
            <ejb-ref> 
                <ejb-ref-name>stateless/beanReferences/Enterprise_bean_access</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateful.BasicStatefulHome</home>
                <remote>org.openejb.test.stateful.BasicStatefulObject</remote>
                <ejb-link>BasicStatefulBean</ejb-link>
            </ejb-ref> 
            <security-role-ref>
                <role-name>BigWig</role-name>
                <role-link>Teller</role-link>
            </security-role-ref>
            <security-role-ref>
                <role-name>HighRoller</role-name>
                <role-link>Manager</role-link>
            </security-role-ref>
            <resource-ref>
                <description>
                This is a reference to a JDBC database.
                </description>
                <res-ref-name>stateless/references/Resource_manager_access</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </session>
        
        <!-- 
        ########################################################
        ID:  client/tools/DatabaseHome
        ########################################################
        -->
        
        <session>
            <description>A basic stateless session bean with bean-managed 
            transaction demarcation.
            </description>
            <ejb-name>DatabaseBean</ejb-name>
            <home>org.openejb.test.beans.DatabaseHome</home>
            <remote>org.openejb.test.beans.Database</remote>
            <ejb-class>org.openejb.test.beans.DatabaseBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
            <security-role-ref>
                <role-name>BigWig</role-name>
                <role-link>Teller</role-link>
            </security-role-ref>
            <security-role-ref>
                <role-name>HighRoller</role-name>
                <role-link>Manager</role-link>
            </security-role-ref>
            <resource-ref>
                <res-ref-name>database</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </session>
        
        <!-- 
        ########################################################
        ID:  client/tests/stateless/BeanManagedTransactionTests/EJBHome
        ########################################################
        -->
        
        <session>
            <description>A basic stateless session bean with bean-managed 
            transaction demarcation.
            </description>
            <ejb-name>BMT StatelessBean</ejb-name>
            <home>org.openejb.test.stateless.BeanTxStatelessHome</home>
            <remote>org.openejb.test.stateless.BeanTxStatelessObject</remote>
            <ejb-class>org.openejb.test.stateless.BeanTxStatelessBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
            <security-role-ref>
                <role-name>BigWig</role-name>
                <role-link>Teller</role-link>
            </security-role-ref>
            <security-role-ref>
                <role-name>HighRoller</role-name>
                <role-link>Manager</role-link>
            </security-role-ref>
            <resource-ref>
                <res-ref-name>database</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </session>
        
        <!-- 
        ########################################################
        ID:  client/tests/stateless/EncBean
        ########################################################
        -->
        
        <session>
            <description>
                The stateless bean for the JNDI ENC tests
            </description>
            <ejb-name>EncStatelessBean</ejb-name>
            <home>org.openejb.test.stateless.EncStatelessHome</home>
            <remote>org.openejb.test.stateless.EncStatelessObject</remote>
            <ejb-class>org.openejb.test.stateless.EncStatelessBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
            
            
            <env-entry>
                <env-entry-name>stateless/references/JNDI_access_to_java_comp_env</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>Success</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateless/references/Boolean</env-entry-name>
                <env-entry-type>java.lang.Boolean</env-entry-type>
                <env-entry-value>true</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateless/references/String</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateless/references/Double</env-entry-name>
                <env-entry-type>java.lang.Double</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateless/references/Long</env-entry-name>
                <env-entry-type>java.lang.Long</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateless/references/Float</env-entry-name>
                <env-entry-type>java.lang.Float</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateless/references/Integer</env-entry-name>
                <env-entry-type>java.lang.Integer</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateless/references/Short</env-entry-name>
                <env-entry-type>java.lang.Short</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>stateless/references/Byte</env-entry-name>
                <env-entry-type>java.lang.Byte</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <ejb-ref> 
                <ejb-ref-name>stateless/beanReferences/Enterprise_bean_access</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateful.BasicStatefulHome</home>
                <remote>org.openejb.test.stateful.BasicStatefulObject</remote>
                <ejb-link>BasicStatefulBean</ejb-link>
            </ejb-ref> 
            <ejb-ref> 
                <ejb-ref-name>stateless/beanReferences/bmp_entity</ejb-ref-name> 
                <ejb-ref-type>Entity</ejb-ref-type>
                <home>org.openejb.test.entity.bmp.BasicBmpHome</home>
                <remote>org.openejb.test.entity.bmp.BasicBmpObject</remote>
                <ejb-link>BasicBmpBean</ejb-link>
            </ejb-ref> 
            <ejb-ref> 
                <ejb-ref-name>stateless/beanReferences/stateful</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateful.BasicStatefulHome</home>
                <remote>org.openejb.test.stateful.BasicStatefulObject</remote>
                <ejb-link>BasicStatefulBean</ejb-link>
            </ejb-ref> 
            <ejb-ref> 
                <ejb-ref-name>stateless/beanReferences/stateless</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateless.BasicStatelessHome</home>
                <remote>org.openejb.test.stateless.BasicStatelessObject</remote>
                <ejb-link>BasicStatelessBean</ejb-link>
            </ejb-ref> 
            <security-role-ref>
                <role-name>TheMan</role-name>
                <role-link>Executive</role-link>
            </security-role-ref>
            <resource-ref>
                <res-ref-name>datasource</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </session>
        
        <!-- 
        ########################################################
        ID:  client/tests/stateless/RMI-over-IIOP/EJBHome
        ########################################################
        -->
        
        <session>
            <description>
                The stateless bean for the RMI-IIOP Tests
            </description>
            <ejb-name>Stateless RMI-IIOP Bean</ejb-name>
            <home>org.openejb.test.stateless.RmiIiopStatelessHome</home>
            <remote>org.openejb.test.stateless.RmiIiopStatelessObject</remote>
            <ejb-class>org.openejb.test.stateless.RmiIiopStatelessBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
            <ejb-ref> 
                <ejb-ref-name>stateless/rmi-iiop/home</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateless.EncStatelessHome</home>
                <remote>org.openejb.test.stateless.EncStatelessBean</remote>
                <ejb-link>EncStatelessBean</ejb-link>
            </ejb-ref> 
            <security-role-ref>
                <role-name>TheMan</role-name>
                <role-link>Executive</role-link>
            </security-role-ref>
        </session>
        
        <!-- 
        ########################################################
        ########################################################
        ######  BMP   E N T I T Y   B E A N S  #################
        ########################################################
        ########################################################
        -->
        
        <!-- 
        ########################################################
        ID:  client/tests/entity/bmp/BasicBmpHome
        ########################################################
        -->
        
        <entity>
            <description>
            The EmployeeRecord entity bean encapsulates access
            to the employee records.The deployer will use
            container-managed persistence to integrate the
            entity bean with the back-end system managing
            the employee records.
            </description>
            <ejb-name>BasicBmpBean</ejb-name>
            <home>org.openejb.test.entity.bmp.BasicBmpHome</home>
            <remote>org.openejb.test.entity.bmp.BasicBmpObject</remote>
            <ejb-class>org.openejb.test.entity.bmp.BasicBmpBean</ejb-class>
            <persistence-type>Bean</persistence-type>
            <prim-key-class>java.lang.Integer</prim-key-class>
            <reentrant>False</reentrant>
            <primkey-field>primaryKey</primkey-field>
            <resource-ref>
                <description>
                This is a reference to a JDBC database.
                </description>
                <res-ref-name>jdbc/basic/entityDatabase</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </entity>

        <!-- 
        ########################################################
        ID:  client/tests/entity/bmp/allowed_operations/EntityHome
        ########################################################
        -->
        
        <entity>
            <description>
             blah, blah, blah
            </description>
            <ejb-name>AOBasicBmpBean</ejb-name>
            <home>org.openejb.test.entity.bmp.BasicBmpHome</home>
            <remote>org.openejb.test.entity.bmp.BasicBmpObject</remote>
            <ejb-class>org.openejb.test.entity.bmp.AllowedOperationsBmpBean</ejb-class>
            <persistence-type>Bean</persistence-type>
            <prim-key-class>java.lang.Integer</prim-key-class>
            <reentrant>False</reentrant>
            <primkey-field>primaryKey</primkey-field>
            <env-entry>
                <env-entry-name>stateless/references/JNDI_access_to_java_comp_env</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>Success</env-entry-value>
            </env-entry>
            <ejb-ref> 
                <ejb-ref-name>stateless/beanReferences/Enterprise_bean_access</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateful.BasicStatefulHome</home>
                <remote>org.openejb.test.stateful.BasicStatefulObject</remote>
                <ejb-link>BasicStatefulBean</ejb-link>
            </ejb-ref> 
            <resource-ref>
                <description>
                This is a reference to a JDBC database.
                </description>
                <res-ref-name>jdbc/basic/entityDatabase</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
            <resource-ref>
                <description>
                This is a reference to a JDBC database.
                </description>
                <res-ref-name>stateless/references/Resource_manager_access</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </entity>

        <!-- 
        ########################################################
        ID:  client/tests/entity/bmp/EncBean
        ########################################################
        -->
        
        <entity>
            <description>
             blah, blah, blah
            </description>
            <ejb-name>EncBmpBean</ejb-name>
            <home>org.openejb.test.entity.bmp.EncBmpHome</home>
            <remote>org.openejb.test.entity.bmp.EncBmpObject</remote>
            <ejb-class>org.openejb.test.entity.bmp.EncBmpBean</ejb-class>
            <persistence-type>Bean</persistence-type>
            <prim-key-class>java.lang.Integer</prim-key-class>
            <reentrant>False</reentrant>
            <primkey-field>primaryKey</primkey-field>
            <env-entry>
                <env-entry-name>entity/bmp/references/Boolean</env-entry-name>
                <env-entry-type>java.lang.Boolean</env-entry-type>
                <env-entry-value>true</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/bmp/references/String</env-entry-name>
                <env-entry-type>java.lang.String</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/bmp/references/Double</env-entry-name>
                <env-entry-type>java.lang.Double</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/bmp/references/Long</env-entry-name>
                <env-entry-type>java.lang.Long</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/bmp/references/Float</env-entry-name>
                <env-entry-type>java.lang.Float</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/bmp/references/Integer</env-entry-name>
                <env-entry-type>java.lang.Integer</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/bmp/references/Short</env-entry-name>
                <env-entry-type>java.lang.Short</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <env-entry>
                <env-entry-name>entity/bmp/references/Byte</env-entry-name>
                <env-entry-type>java.lang.Byte</env-entry-type>
                <env-entry-value>1</env-entry-value>
            </env-entry>
            <ejb-ref> 
                <ejb-ref-name>entity/bmp/beanReferences/bmp_entity</ejb-ref-name> 
                <ejb-ref-type>Entity</ejb-ref-type>
                <home>org.openejb.test.entity.bmp.BasicBmpHome</home>
                <remote>org.openejb.test.entity.bmp.BasicBmpObject</remote>
                <ejb-link>BasicBmpBean</ejb-link>
            </ejb-ref> 
            <ejb-ref> 
                <ejb-ref-name>entity/bmp/beanReferences/stateful</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateful.BasicStatefulHome</home>
                <remote>org.openejb.test.stateful.BasicStatefulObject</remote>
                <ejb-link>BasicStatefulBean</ejb-link>
            </ejb-ref> 
            <ejb-ref> 
                <ejb-ref-name>entity/bmp/beanReferences/stateless</ejb-ref-name> 
                <ejb-ref-type>Session</ejb-ref-type>
                <home>org.openejb.test.stateless.BasicStatelessHome</home>
                <remote>org.openejb.test.stateless.BasicStatelessObject</remote>
                <ejb-link>BasicStatelessBean</ejb-link>
            </ejb-ref> 
            <resource-ref>
                <res-ref-name>datasource</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
            <resource-ref>
                <res-ref-name>jdbc/basic/entityDatabase</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
        </entity>

        <!-- 
        ########################################################
        ID:  client/tests/entity/bmp/RMI-over-IIOP/EJBHome
        ########################################################
        -->
        
        <entity>
            <description>
             blah, blah, blah
            </description>
            <ejb-name>Bmp RMI-IIOP Bean</ejb-name>
            <home>org.openejb.test.entity.bmp.RmiIiopBmpHome</home>
            <remote>org.openejb.test.entity.bmp.RmiIiopBmpObject</remote>
            <ejb-class>org.openejb.test.entity.bmp.RmiIiopBmpBean</ejb-class>
            <persistence-type>Bean</persistence-type>
            <prim-key-class>java.lang.Integer</prim-key-class>
            <reentrant>False</reentrant>
            <primkey-field>primaryKey</primkey-field>
            <ejb-ref> 
                <ejb-ref-name>bmp/rmi-iiop/home</ejb-ref-name> 
                <ejb-ref-type>Entity</ejb-ref-type> 
                <home>org.openejb.test.entity.bmp.EncBmpHome</home>
                <remote>org.openejb.test.entity.bmp.EncBmpObject</remote>
                <ejb-link>EncBmpBean</ejb-link>
            </ejb-ref> 
            <security-role-ref>
                <role-name>TheMan</role-name>
                <role-link>Executive</role-link>
            </security-role-ref>
        </entity>
    </enterprise-beans>
    
    <assembly-descriptor>
        <security-role>
            <description>The description</description>
            <role-name>Teller</role-name>
        </security-role>
        <security-role>
            <description>The description</description>
            <role-name>Manager</role-name>
        </security-role>
        <security-role>
            <description>The description</description>
            <role-name>Accountant</role-name>
        </security-role>
        <security-role>
            <description>The description</description>
            <role-name>Executive</role-name>
        </security-role>
        
        <method-permission>
            <description>The description</description>
            <role-name>Teller</role-name>
            <method>
                <description>The description</description>
                <ejb-name>BasicStatelessBean</ejb-name>
                <method-name>remove</method-name>
            </method>
        </method-permission>
        
        <method-permission>
            <description>The description</description>
            <role-name>Accountant</role-name>
            <role-name>Manager</role-name>
            <method>
                <description>The description</description>
                <ejb-name>BasicStatefulBean</ejb-name>
                <method-name>*</method-name>
            </method>
        </method-permission>

        <container-transaction>
            <method>
                <ejb-name>BasicStatefulBean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>BasicStatelessBean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>BasicCmpBean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>AOBasicCmpBean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>EncCmpBean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>Cmp RMI-IIOP Bean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Never</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>EncStatefulBean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>Stateful RMI-IIOP Bean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Never</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>DatabaseBean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>EncStatelessBean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>Stateless RMI-IIOP Bean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Never</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>BasicBmpBean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>AOBasicBmpBean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>EncBmpBean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>Bmp RMI-IIOP Bean</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Never</trans-attribute>
        </container-transaction>

    </assembly-descriptor>
</ejb-jar>
