<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd">
<ejb-jar>
    <enterprise-beans>
       <session>
    	    <description>Deployment descriptor for Rubis SB_BrowseRegions Bean</description>
            <display-name>RUBiS SB_BrowseRegions Bean</display-name>
            <ejb-name>SB_BrowseRegions</ejb-name>
            <home>edu.rice.rubis.beans.SB_BrowseRegionsHome</home>
            <remote>edu.rice.rubis.beans.SB_BrowseRegions</remote>
            <ejb-class>edu.rice.rubis.beans.SB_BrowseRegionsBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
            <ejb-ref>
                <description>This is the reference to the region bean</description>
                <ejb-ref-name>ejb/Region</ejb-ref-name>
                <ejb-ref-type>Entity</ejb-ref-type>
                <home>edu.rice.rubis.beans.RegionHome</home>
                <remote>edu.rice.rubis.beans.Region</remote>
                <ejb-link>Region</ejb-link>
            </ejb-ref>
            <resource-ref>
                <res-ref-name>jdbc/rubis</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>
         </session>

        <entity>
            <description>Region Bean deployment descriptor</description>
            <display-name>Region</display-name>
            <ejb-name>Region</ejb-name>
            <home>edu.rice.rubis.beans.RegionHome</home>
            <remote>edu.rice.rubis.beans.Region</remote>
            <ejb-class>edu.rice.rubis.beans.RegionBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>edu.rice.rubis.beans.RegionPK</prim-key-class>
            <reentrant>False</reentrant>
            <cmp-field>
                <description>Region name</description>
                <field-name>name</field-name>
            </cmp-field>
            <cmp-field>
                <description>Region id</description>
                <field-name>id</field-name>
            </cmp-field>
            <resource-ref>
                <res-ref-name>jdbc/rubis</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>Region</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>
    </assembly-descriptor>
</ejb-jar>
