<!-- 
########################################################
ID:  client/tests/stateless/BeanManagedBasicStatelessHome
########################################################
$Id: BasicStatelessBean2.xml,v 1.1 2002/10/02 16:43:03 dblevins Exp $
-->

<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>
