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

       <session>
    	    <description>Deployment descriptor for Rubis SB_ AboutMeBean</description>
            <display-name>RUBiS SB_ AboutMeBean</display-name>
            <ejb-name>SB_AboutMe</ejb-name>
            <home>edu.rice.rubis.beans.SB_AboutMeHome</home>
            <remote>edu.rice.rubis.beans.SB_AboutMe</remote>
            <ejb-class>edu.rice.rubis.beans.SB_AboutMeBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the SB_Auth  bean</description>
                <ejb-ref-name>ejb/SB_Auth</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<ejb-link>SB_Auth</ejb-link>
		<home>edu.rice.rubis.beans.SB_AuthHome</home>
		<remote>edu.rice.rubis.beans.SB_Auth</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the user  bean</description>
                <ejb-ref-name>ejb/User</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>User</ejb-link>
		<home>edu.rice.rubis.beans.UserHome</home>
		<remote>edu.rice.rubis.beans.User</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the comment bean</description>
                <ejb-ref-name>ejb/Comment</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Comment</ejb-link>
		<home>edu.rice.rubis.beans.CommentHome</home>
		<remote>edu.rice.rubis.beans.Comment</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the bid bean</description>
                <ejb-ref-name>ejb/Bid</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Bid</ejb-link>
		<home>edu.rice.rubis.beans.BidHome</home>
		<remote>edu.rice.rubis.beans.Bid</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the item bean</description>
                <ejb-ref-name>ejb/Item</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Item</ejb-link>
		<home>edu.rice.rubis.beans.ItemHome</home>
		<remote>edu.rice.rubis.beans.Item</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the Query  bean</description>
                <ejb-ref-name>ejb/Query</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<ejb-link>Query</ejb-link>
		<home>edu.rice.rubis.beans.QueryHome</home>
		<remote>edu.rice.rubis.beans.Query</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the buyNow bean</description>
                <ejb-ref-name>ejb/BuyNow</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>BuyNow</ejb-link>
		<home>edu.rice.rubis.beans.BuyNowHome</home>
		<remote>edu.rice.rubis.beans.BuyNow</remote>
            </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>

       <session>
    	    <description>Deployment descriptor for Rubis SB_ViewBidHistory Bean</description>
            <display-name>RUBiS SB_ViewBidHistory Bean</display-name>
            <ejb-name>SB_ViewBidHistory</ejb-name>
            <home>edu.rice.rubis.beans.SB_ViewBidHistoryHome</home>
            <remote>edu.rice.rubis.beans.SB_ViewBidHistory</remote>
            <ejb-class>edu.rice.rubis.beans.SB_ViewBidHistoryBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the bid bean</description>
                <ejb-ref-name>ejb/Bid</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Bid</ejb-link>
		<home>edu.rice.rubis.beans.BidHome</home>
		<remote>edu.rice.rubis.beans.Bid</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the item bean</description>
                <ejb-ref-name>ejb/Item</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Item</ejb-link>
		<home>edu.rice.rubis.beans.ItemHome</home>
		<remote>edu.rice.rubis.beans.Item</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the Query  bean</description>
                <ejb-ref-name>ejb/Query</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<ejb-link>Query</ejb-link>
		<home>edu.rice.rubis.beans.QueryHome</home>
		<remote>edu.rice.rubis.beans.Query</remote>
            </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>

      <session>
    	    <description>Deployment descriptor for Rubis SB_PutBid Bean</description>
            <display-name>RUBiS SB_PutBid Bean</display-name>
            <ejb-name>SB_PutBid</ejb-name>
            <home>edu.rice.rubis.beans.SB_PutBidHome</home>
            <remote>edu.rice.rubis.beans.SB_PutBid</remote>
            <ejb-class>edu.rice.rubis.beans.SB_PutBidBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the SB_ViewItem  bean</description>
                <ejb-ref-name>ejb/SB_ViewItem</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<ejb-link>SB_ViewItem</ejb-link>
		<home>edu.rice.rubis.beans.SB_ViewItemHome</home>
		<remote>edu.rice.rubis.beans.SB_ViewItem</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the SB_Auth  bean</description>
                <ejb-ref-name>ejb/SB_Auth</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<ejb-link>SB_Auth</ejb-link>
		<home>edu.rice.rubis.beans.SB_AuthHome</home>
		<remote>edu.rice.rubis.beans.SB_Auth</remote>
            </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>

       <session>
    	    <description>Deployment descriptor for Rubis SB_StoreBuyNow Bean</description>
            <display-name>RUBiS SB_StoreBuyNow Bean</display-name>
            <ejb-name>SB_StoreBuyNow</ejb-name>
            <home>edu.rice.rubis.beans.SB_StoreBuyNowHome</home>
            <remote>edu.rice.rubis.beans.SB_StoreBuyNow</remote>
            <ejb-class>edu.rice.rubis.beans.SB_StoreBuyNowBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the item bean</description>
                <ejb-ref-name>ejb/Item</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Item</ejb-link>
		<home>edu.rice.rubis.beans.ItemHome</home>
		<remote>edu.rice.rubis.beans.Item</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the buyNow bean</description>
                <ejb-ref-name>ejb/BuyNow</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>BuyNow</ejb-link>
		<home>edu.rice.rubis.beans.BuyNowHome</home>
		<remote>edu.rice.rubis.beans.BuyNow</remote>
            </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>

       <session>
    	    <description>Deployment descriptor for Rubis SB_BuyNow Bean</description>
            <display-name>RUBiS SB_BuyNow Bean</display-name>
            <ejb-name>SB_BuyNow</ejb-name>
            <home>edu.rice.rubis.beans.SB_BuyNowHome</home>
            <remote>edu.rice.rubis.beans.SB_BuyNow</remote>
            <ejb-class>edu.rice.rubis.beans.SB_BuyNowBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the item bean</description>
                <ejb-ref-name>ejb/Item</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Item</ejb-link>
		<home>edu.rice.rubis.beans.ItemHome</home>
		<remote>edu.rice.rubis.beans.Item</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the SB_Auth  bean</description>
                <ejb-ref-name>ejb/SB_Auth</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<ejb-link>SB_Auth</ejb-link>
		<home>edu.rice.rubis.beans.SB_AuthHome</home>
		<remote>edu.rice.rubis.beans.SB_Auth</remote>
            </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>

       <session>
    	    <description>Deployment descriptor for Rubis SB_RegisterUser Bean</description>
            <display-name>RUBiS SB_RegisterUser Bean</display-name>
            <ejb-name>SB_RegisterUser</ejb-name>
            <home>edu.rice.rubis.beans.SB_RegisterUserHome</home>
            <remote>edu.rice.rubis.beans.SB_RegisterUser</remote>
            <ejb-class>edu.rice.rubis.beans.SB_RegisterUserBean</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>
		<ejb-link>Region</ejb-link>
		<home>edu.rice.rubis.beans.RegionHome</home>
		<remote>edu.rice.rubis.beans.Region</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the user bean</description>
                <ejb-ref-name>ejb/User</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>User</ejb-link>
		<home>edu.rice.rubis.beans.UserHome</home>
		<remote>edu.rice.rubis.beans.User</remote>
            </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>

       <session>
    	    <description>Deployment descriptor for Rubis SB_StoreComment Bean</description>
            <display-name>RUBiS SB_StoreComment Bean</display-name>
            <ejb-name>SB_StoreComment</ejb-name>
            <home>edu.rice.rubis.beans.SB_StoreCommentHome</home>
            <remote>edu.rice.rubis.beans.SB_StoreComment</remote>
            <ejb-class>edu.rice.rubis.beans.SB_StoreCommentBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the user bean</description>
                <ejb-ref-name>ejb/User</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>User</ejb-link>
		<home>edu.rice.rubis.beans.UserHome</home>
		<remote>edu.rice.rubis.beans.User</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the comment bean</description>
                <ejb-ref-name>ejb/Comment</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Comment</ejb-link>
		<home>edu.rice.rubis.beans.CommentHome</home>
		<remote>edu.rice.rubis.beans.Comment</remote>
            </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>

       <session>
    	    <description>Deployment descriptor for Rubis SB_PutComment Bean</description>
            <display-name>RUBiS SB_PutComment Bean</display-name>
            <ejb-name>SB_PutComment</ejb-name>
            <home>edu.rice.rubis.beans.SB_PutCommentHome</home>
            <remote>edu.rice.rubis.beans.SB_PutComment</remote>
            <ejb-class>edu.rice.rubis.beans.SB_PutCommentBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the user bean</description>
                <ejb-ref-name>ejb/User</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>User</ejb-link>
		<home>edu.rice.rubis.beans.UserHome</home>
		<remote>edu.rice.rubis.beans.User</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the item bean</description>
                <ejb-ref-name>ejb/Item</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Item</ejb-link>
		<home>edu.rice.rubis.beans.ItemHome</home>
		<remote>edu.rice.rubis.beans.Item</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the SB_Auth  bean</description>
                <ejb-ref-name>ejb/SB_Auth</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<ejb-link>SB_Auth</ejb-link>
		<home>edu.rice.rubis.beans.SB_AuthHome</home>
		<remote>edu.rice.rubis.beans.SB_Auth</remote>
            </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>

       <session>
    	    <description>Deployment descriptor for Rubis SB_ViewUserInfo Bean</description>
            <display-name>RUBiS SB_ViewUserInfo Bean</display-name>
            <ejb-name>SB_ViewUserInfo</ejb-name>
            <home>edu.rice.rubis.beans.SB_ViewUserInfoHome</home>
            <remote>edu.rice.rubis.beans.SB_ViewUserInfo</remote>
            <ejb-class>edu.rice.rubis.beans.SB_ViewUserInfoBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the user bean</description>
                <ejb-ref-name>ejb/User</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>User</ejb-link>
		<home>edu.rice.rubis.beans.UserHome</home>
		<remote>edu.rice.rubis.beans.User</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the comment bean</description>
                <ejb-ref-name>ejb/Comment</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Comment</ejb-link>
		<home>edu.rice.rubis.beans.CommentHome</home>
		<remote>edu.rice.rubis.beans.Comment</remote>
            </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>

       <session>
    	    <description>Deployment descriptor for Rubis SB_ViewItem Bean</description>
            <display-name>RUBiS SB_ViewItem Bean</display-name>
            <ejb-name>SB_ViewItem</ejb-name>
            <home>edu.rice.rubis.beans.SB_ViewItemHome</home>
            <remote>edu.rice.rubis.beans.SB_ViewItem</remote>
            <ejb-class>edu.rice.rubis.beans.SB_ViewItemBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the bid bean</description>
                <ejb-ref-name>ejb/Bid</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Bid</ejb-link>
		<home>edu.rice.rubis.beans.BidHome</home>
		<remote>edu.rice.rubis.beans.Bid</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the item bean</description>
                <ejb-ref-name>ejb/Item</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Item</ejb-link>
		<home>edu.rice.rubis.beans.ItemHome</home>
		<remote>edu.rice.rubis.beans.Item</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the Query  bean</description>
                <ejb-ref-name>ejb/Query</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<ejb-link>Query</ejb-link>
		<home>edu.rice.rubis.beans.QueryHome</home>
		<remote>edu.rice.rubis.beans.Query</remote>
            </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>

       <session>
    	    <description>Deployment descriptor for Rubis SB_SearchItemsByRegion Bean</description>
            <display-name>RUBiS SB_SearchItemsByRegion Bean</display-name>
            <ejb-name>SB_SearchItemsByRegion</ejb-name>
            <home>edu.rice.rubis.beans.SB_SearchItemsByRegionHome</home>
            <remote>edu.rice.rubis.beans.SB_SearchItemsByRegion</remote>
            <ejb-class>edu.rice.rubis.beans.SB_SearchItemsByRegionBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the item bean</description>
                <ejb-ref-name>ejb/Item</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Item</ejb-link>
		<home>edu.rice.rubis.beans.ItemHome</home>
		<remote>edu.rice.rubis.beans.Item</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the Query  bean</description>
                <ejb-ref-name>ejb/Query</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<ejb-link>Query</ejb-link>
		<home>edu.rice.rubis.beans.QueryHome</home>
		<remote>edu.rice.rubis.beans.Query</remote>
            </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>

       <session>
    	    <description>Deployment descriptor for Rubis SB_SearchItemsByCategory Bean</description>
            <display-name>RUBiS SB_SearchItemsByCategory Bean</display-name>
            <ejb-name>SB_SearchItemsByCategory</ejb-name>
            <home>edu.rice.rubis.beans.SB_SearchItemsByCategoryHome</home>
            <remote>edu.rice.rubis.beans.SB_SearchItemsByCategory</remote>
            <ejb-class>edu.rice.rubis.beans.SB_SearchItemsByCategoryBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Bean</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the item bean</description>
                <ejb-ref-name>ejb/Item</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Item</ejb-link>
		<home>edu.rice.rubis.beans.ItemHome</home>
		<remote>edu.rice.rubis.beans.Item</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the Query  bean</description>
                <ejb-ref-name>ejb/Query</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<ejb-link>Query</ejb-link>
		<home>edu.rice.rubis.beans.QueryHome</home>
		<remote>edu.rice.rubis.beans.Query</remote>
            </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>

       <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>
		<ejb-link>Region</ejb-link>
		<home>edu.rice.rubis.beans.RegionHome</home>
		<remote>edu.rice.rubis.beans.Region</remote>
            </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>

       <session>
    	    <description>Deployment descriptor for Rubis SB_BrowseCategories Bean</description>
            <display-name>RUBiS SB_BrowseCategories Bean</display-name>
            <ejb-name>SB_BrowseCategories</ejb-name>
            <home>edu.rice.rubis.beans.SB_BrowseCategoriesHome</home>
            <remote>edu.rice.rubis.beans.SB_BrowseCategories</remote>
            <ejb-class>edu.rice.rubis.beans.SB_BrowseCategoriesBean</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>
		<ejb-link>Region</ejb-link>
		<home>edu.rice.rubis.beans.RegionHome</home>
		<remote>edu.rice.rubis.beans.Region</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the category  bean</description>
                <ejb-ref-name>ejb/Category</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>Category</ejb-link>
		<home>edu.rice.rubis.beans.CategoryHome</home>
		<remote>edu.rice.rubis.beans.Category</remote>
            </ejb-ref>
	    <ejb-ref>
                <description>This is the reference to the SB_Auth  bean</description>
                <ejb-ref-name>ejb/SB_Auth</ejb-ref-name>
		<ejb-ref-type>Session</ejb-ref-type>
		<ejb-link>SB_Auth</ejb-link>
		<home>edu.rice.rubis.beans.SB_AuthHome</home>
		<remote>edu.rice.rubis.beans.SB_Auth</remote>
            </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>

        <session>
    	    <description>Deployment descriptor for Rubis SB_Auth Bean</description>
            <display-name>RUBiS SB_Auth Bean</display-name>
            <ejb-name>SB_Auth</ejb-name>
            <home>edu.rice.rubis.beans.SB_AuthHome</home>
            <remote>edu.rice.rubis.beans.SB_Auth</remote>
            <ejb-class>edu.rice.rubis.beans.SB_AuthBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
	    <ejb-ref>
                <description>This is the reference to the user  bean</description>
                <ejb-ref-name>ejb/User</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>User</ejb-link>
		<home>edu.rice.rubis.beans.UserHome</home>
		<remote>edu.rice.rubis.beans.User</remote>
            </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>


        <session>
    	    <description>Deployment descriptor for Rubis Query Bean</description>
            <display-name>RUBiS Query Bean</display-name>
            <ejb-name>Query</ejb-name>
            <home>edu.rice.rubis.beans.QueryHome</home>
            <remote>edu.rice.rubis.beans.Query</remote>
            <ejb-class>edu.rice.rubis.beans.QueryBean</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
            <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>Category Bean deployment descriptor</description>
            <display-name>Category</display-name>
            <ejb-name>Category</ejb-name>
            <home>edu.rice.rubis.beans.CategoryHome</home>
            <remote>edu.rice.rubis.beans.Category</remote>
            <ejb-class>edu.rice.rubis.beans.CategoryBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>edu.rice.rubis.beans.CategoryPK</prim-key-class>
            <reentrant>False</reentrant>
            <cmp-field>
                <description>Category name</description>
                <field-name>name</field-name>
            </cmp-field>
            <cmp-field>
                <description>Category 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>

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

        <entity>
            <description>User Bean deployment descriptor</description>
            <display-name>User</display-name>
            <ejb-name>User</ejb-name>
            <home>edu.rice.rubis.beans.UserHome</home>
            <remote>edu.rice.rubis.beans.User</remote>
            <ejb-class>edu.rice.rubis.beans.UserBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>edu.rice.rubis.beans.UserPK</prim-key-class>
            <reentrant>False</reentrant>
	    <ejb-ref>
                <description>This is the reference to the id manager</description>
                <ejb-ref-name>ejb/IDManager</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>IDManager</ejb-link>
		<home>edu.rice.rubis.beans.IDManagerHome</home>
		<remote>edu.rice.rubis.beans.IDManager</remote>
            </ejb-ref>
            <cmp-field>
                <description>User id</description>
                <field-name>id</field-name>
            </cmp-field>
            <cmp-field>
                <description>User firstname</description>
                <field-name>firstName</field-name>
            </cmp-field>
            <cmp-field>
                <description>User lastname</description>
                <field-name>lastName</field-name>
            </cmp-field>
            <cmp-field>
                <description>User nickname</description>
                <field-name>nickName</field-name>
            </cmp-field>
            <cmp-field>
                <description>User password</description>
                <field-name>password</field-name>
            </cmp-field>
            <cmp-field>
                <description>User email</description>
                <field-name>email</field-name>
            </cmp-field>
            <cmp-field>
                <description>User rating</description>
                <field-name>rating</field-name>
            </cmp-field>
            <cmp-field>
                <description>User account balance</description>
                <field-name>balance</field-name>
            </cmp-field>
            <cmp-field>
                <description>User record creation date</description>
                <field-name>creationDate</field-name>
            </cmp-field>
            <cmp-field>
                <description>User region Id in regions table</description>
                <field-name>regionId</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>

        <entity>
            <description>Item Bean deployment descriptor</description>
            <display-name>Item</display-name>
            <ejb-name>Item</ejb-name>
            <home>edu.rice.rubis.beans.ItemHome</home>
            <remote>edu.rice.rubis.beans.Item</remote>
            <ejb-class>edu.rice.rubis.beans.ItemBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>edu.rice.rubis.beans.ItemPK</prim-key-class>
            <reentrant>False</reentrant>
	    <ejb-ref>
                <description>This is the reference to the id manager</description>
                <ejb-ref-name>ejb/IDManager</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>IDManager</ejb-link>
		<home>edu.rice.rubis.beans.IDManagerHome</home>
		<remote>edu.rice.rubis.beans.IDManager</remote>
            </ejb-ref>
            <cmp-field>
                <description>Item id</description>
                <field-name>id</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item name</description>
                <field-name>name</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item description</description>
                <field-name>description</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item initial price</description>
                <field-name>initialPrice</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item quantity</description>
                <field-name>quantity</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item reserve price</description>
                <field-name>reservePrice</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item buy now price</description>
                <field-name>buyNow</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item number of bids</description>
                <field-name>nbOfBids</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item maximum bid</description>
                <field-name>maxBid</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item selling start date</description>
                <field-name>startDate</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item selling end date</description>
                <field-name>endDate</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item seller Id in users table</description>
                <field-name>sellerId</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item category Id in categories table</description>
                <field-name>categoryId</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>

        <entity>
            <description>Old Item Bean deployment descriptor</description>
            <display-name>Old Item</display-name>
            <ejb-name>OldItem</ejb-name>
            <home>edu.rice.rubis.beans.OldItemHome</home>
            <remote>edu.rice.rubis.beans.OldItem</remote>
            <ejb-class>edu.rice.rubis.beans.OldItemBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>edu.rice.rubis.beans.OldItemPK</prim-key-class>
            <reentrant>False</reentrant>
            <cmp-field>
                <description>OldItem id</description>
                <field-name>id</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem name</description>
                <field-name>name</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem description</description>
                <field-name>description</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem initial price</description>
                <field-name>initialPrice</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem quantity</description>
                <field-name>quantity</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem reserve price</description>
                <field-name>reservePrice</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem buy now price</description>
                <field-name>buyNow</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem number of bids</description>
                <field-name>nbOfBids</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem maximum bid</description>
                <field-name>maxBid</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem selling start date</description>
                <field-name>startDate</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem selling end date</description>
                <field-name>endDate</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem seller Id in users table</description>
                <field-name>sellerId</field-name>
            </cmp-field>
            <cmp-field>
                <description>OldItem category Id in categories table</description>
                <field-name>categoryId</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>

        <entity>
            <description>Bid Bean deployment descriptor</description>
            <display-name>Bid</display-name>
            <ejb-name>Bid</ejb-name>
            <home>edu.rice.rubis.beans.BidHome</home>
            <remote>edu.rice.rubis.beans.Bid</remote>
            <ejb-class>edu.rice.rubis.beans.BidBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>edu.rice.rubis.beans.BidPK</prim-key-class>
            <reentrant>False</reentrant>
	    <ejb-ref>
                <description>This is the reference to the id manager</description>
                <ejb-ref-name>ejb/IDManager</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>IDManager</ejb-link>
		<home>edu.rice.rubis.beans.IDManagerHome</home>
		<remote>edu.rice.rubis.beans.IDManager</remote>
            </ejb-ref>
            <cmp-field>
                <description>Bean id</description>
                <field-name>id</field-name>
            </cmp-field>
            <cmp-field>
                <description>Bid user id</description>
                <field-name>userId</field-name>
            </cmp-field>
            <cmp-field>
                <description>Bid item id</description>
                <field-name>itemId</field-name>
            </cmp-field>
            <cmp-field>
                <description>Bid quantity</description>
                <field-name>qty</field-name>
            </cmp-field>
            <cmp-field>
                <description>Value of this bid</description>
                <field-name>bid</field-name>
            </cmp-field>
            <cmp-field>
                <description>Max value user wants to bid</description>
                <field-name>maxBid</field-name>
            </cmp-field>
            <cmp-field>
                <description>Bid date</description>
                <field-name>date</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>

        <entity>
            <description>Comment Bean deployment descriptor</description>
            <display-name>Comment</display-name>
            <ejb-name>Comment</ejb-name>
            <home>edu.rice.rubis.beans.CommentHome</home>
            <remote>edu.rice.rubis.beans.Comment</remote>
            <ejb-class>edu.rice.rubis.beans.CommentBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>edu.rice.rubis.beans.CommentPK</prim-key-class>
            <reentrant>False</reentrant>
	    <ejb-ref>
                <description>This is the reference to the id manager</description>
                <ejb-ref-name>ejb/IDManager</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>IDManager</ejb-link>
		<home>edu.rice.rubis.beans.IDManagerHome</home>
		<remote>edu.rice.rubis.beans.IDManager</remote>
            </ejb-ref>
            <cmp-field>
                <description>Comment id</description>
                <field-name>id</field-name>
            </cmp-field>
            <cmp-field>
                <description>Comment author user id</description>
                <field-name>fromUserId</field-name>
            </cmp-field>
            <cmp-field>
                <description>User id this comment is about</description>
                <field-name>toUserId</field-name>
            </cmp-field>
            <cmp-field>
                <description>Item id</description>
                <field-name>itemId</field-name>
            </cmp-field>
            <cmp-field>
                <description>Rating given by the author</description>
                <field-name>rating</field-name>
            </cmp-field>
            <cmp-field>
                <description>Comment date</description>
                <field-name>date</field-name>
            </cmp-field>
            <cmp-field>
                <description>Text of the comment</description>
                <field-name>comment</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>

        <entity>
            <description>BuyNow Bean deployment descriptor</description>
            <display-name>BuyNow</display-name>
            <ejb-name>BuyNow</ejb-name>
            <home>edu.rice.rubis.beans.BuyNowHome</home>
            <remote>edu.rice.rubis.beans.BuyNow</remote>
            <ejb-class>edu.rice.rubis.beans.BuyNowBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>edu.rice.rubis.beans.BuyNowPK</prim-key-class>
            <reentrant>False</reentrant>
	    <ejb-ref>
                <description>This is the reference to the id manager</description>
                <ejb-ref-name>ejb/IDManager</ejb-ref-name>
		<ejb-ref-type>Entity</ejb-ref-type>
		<ejb-link>IDManager</ejb-link>
		<home>edu.rice.rubis.beans.IDManagerHome</home>
		<remote>edu.rice.rubis.beans.IDManager</remote>
            </ejb-ref>
            <cmp-field>
                <description>Bean id</description>
                <field-name>id</field-name>
            </cmp-field>
            <cmp-field>
                <description>BuyNow buyer id</description>
                <field-name>buyerId</field-name>
            </cmp-field>
            <cmp-field>
                <description>BuyNow item id</description>
                <field-name>itemId</field-name>
            </cmp-field>
            <cmp-field>
                <description>BuyNow quantity</description>
                <field-name>qty</field-name>
            </cmp-field>
            <cmp-field>
                <description>BuyNow date</description>
                <field-name>date</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>

        <entity>
            <description>IDManager Bean deployment descriptor</description>
            <display-name>IDManager</display-name>
            <ejb-name>IDManager</ejb-name>
            <home>edu.rice.rubis.beans.IDManagerHome</home>
            <remote>edu.rice.rubis.beans.IDManager</remote>
            <ejb-class>edu.rice.rubis.beans.IDManagerBean</ejb-class>
            <persistence-type>Container</persistence-type>
            <prim-key-class>edu.rice.rubis.beans.IDManagerPK</prim-key-class>
            <reentrant>False</reentrant>

            <cmp-field>
                <description>IDManager id</description>
                <field-name>id</field-name>
            </cmp-field>
            <cmp-field>
                <description>IDManager current maximum id for categories</description>
                <field-name>categoryCount</field-name>
            </cmp-field>
            <cmp-field>
                <description>IDManager current maximum id for regions</description>
                <field-name>regionCount</field-name>
            </cmp-field>
            <cmp-field>
                <description>IDManager current maximum id for users</description>
                <field-name>userCount</field-name>
            </cmp-field>
            <cmp-field>
                <description>IDManager current maximum id for items</description>
                <field-name>itemCount</field-name>
            </cmp-field>
            <cmp-field>
                <description>IDManager current maximum id for comments</description>
                <field-name>commentCount</field-name>
            </cmp-field>
            <cmp-field>
                <description>IDManager current maximum id for bids</description>
                <field-name>bidCount</field-name>
            </cmp-field>
            <cmp-field>
                <description>IDManager current maximum id for buyNows</description>
                <field-name>buyNowCount</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>SB_Auth</ejb-name>
	        <method-name>*</method-name>
            </method>
            <trans-attribute>NotSupported</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
	        <ejb-name>Query</ejb-name>
	        <method-name>*</method-name>
            </method>
            <trans-attribute>NotSupported</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>Category</ejb-name>
		<method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>Region</ejb-name>
		<method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>User</ejb-name>
		<method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>Item</ejb-name>
		<method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>OldItem</ejb-name>
		<method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>Bid</ejb-name>
		<method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>Comment</ejb-name>
		<method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>BuyNow</ejb-name>
		<method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>

        <container-transaction>
            <method>
                <ejb-name>IDManager</ejb-name>
		<method-name>*</method-name>
            </method>
            <trans-attribute>Required</trans-attribute>
        </container-transaction>

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