<?xml version="1.0"?>
<!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>Item Administration Service</description>
         <ejb-name>ItemService</ejb-name>
         <home>org.jboss.test.webservice.store.server.ItemService$Home</home>
         <remote>org.jboss.test.webservice.store.server.ItemService</remote>
         <ejb-class>org.jboss.test.webservice.store.server.ItemService$Bean</ejb-class>
	 	 <session-type>Stateless</session-type>
	 	 <transaction-type>Container</transaction-type>		 
	 	 <ejb-local-ref>
	   		<ejb-ref-name>store/ItemHome</ejb-ref-name>
	   		<ejb-ref-type>Entity</ejb-ref-type>
	   		<local-home>org.jboss.test.webservice.store.server.Item$Home</local-home>
	   		<local>org.jboss.test.webservice.store.server.Item</local>
	   		<ejb-link>ItemHome</ejb-link>
	 	</ejb-local-ref>      
	 </session>

      <session>
         <description>BusinessPartner Administration Service</description>
         <ejb-name>BusinessPartnerService</ejb-name>
         <home>org.jboss.test.webservice.store.server.BusinessPartnerService$Home</home>
         <remote>org.jboss.test.webservice.store.server.BusinessPartnerService</remote>
         <ejb-class>org.jboss.test.webservice.store.server.BusinessPartnerService$Bean</ejb-class>
	 	 <session-type>Stateless</session-type>
	 	 <transaction-type>Container</transaction-type>		 
	 	 <ejb-local-ref>
	   		<ejb-ref-name>store/BusinessPartnerHome</ejb-ref-name>
	   		<ejb-ref-type>Entity</ejb-ref-type>
	   		<local-home>org.jboss.test.webservice.store.server.BusinessPartner$Home</local-home>
	   		<local>org.jboss.test.webservice.store.server.BusinessPartner</local>
	   		<ejb-link>BusinessPartnerHome</ejb-link>
	 	</ejb-local-ref>      
	 </session>

      <entity>
         <description>Item Entity Service</description>
         <ejb-name>ItemHome</ejb-name>
         <local-home>org.jboss.test.webservice.store.server.Item$Home</local-home>
         <local>org.jboss.test.webservice.store.server.Item</local>
         <ejb-class>org.jboss.test.webservice.store.server.Item$Bean</ejb-class>
         <persistence-type>Container</persistence-type>
         <prim-key-class>java.lang.String</prim-key-class>
         <reentrant>False</reentrant>
         <cmp-version>2.x</cmp-version>
         <abstract-schema-name>ItemTable</abstract-schema-name>
         <cmp-field><field-name>name</field-name></cmp-field>
         <primkey-field>name</primkey-field>
      </entity>
      <entity>
         <description>Business Partner Entity Service</description>
         <ejb-name>BusinessPartnerHome</ejb-name>
         <local-home>org.jboss.test.webservice.store.server.BusinessPartner$Home</local-home>
         <local>org.jboss.test.webservice.store.server.BusinessPartner</local>
         <ejb-class>org.jboss.test.webservice.store.server.BusinessPartner$Bean</ejb-class>
         <persistence-type>Container</persistence-type>
         <prim-key-class>java.lang.String</prim-key-class>
         <reentrant>False</reentrant>
         <cmp-version>2.x</cmp-version>
         <abstract-schema-name>BusinessPartnerTable</abstract-schema-name>
         <cmp-field><field-name>name</field-name></cmp-field>
         <cmp-field><field-name>address</field-name></cmp-field>
         <primkey-field>name</primkey-field>
      </entity>

   </enterprise-beans>

   <relationships>
   </relationships>
    <assembly-descriptor>
        <container-transaction>
            <method>
                <ejb-name>ItemHome</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Mandatory</trans-attribute>
        </container-transaction>
        <container-transaction>
            <method>
                <ejb-name>BusinessPartnerHome</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Mandatory</trans-attribute>
        </container-transaction>

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


