<?xml version="1.0" encoding="Windows-1251"?>

<!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>Library</description>
  <display-name>Library</display-name>
  <enterprise-beans>
    <session>
      <description>no description</description>
      <display-name>Catalog</display-name>
      <ejb-name>Catalog</ejb-name>
      <home>com.novalumen.library.catalog.CatalogHome</home>
      <remote>com.novalumen.library.catalog.Catalog</remote>
      <ejb-class>com.novalumen.library.catalog.CatalogEJB</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <resource-ref>
	<res-ref-name>jdbc/BookDB</res-ref-name>
	<res-type>javax.sql.DataSource</res-type>
	<res-auth>Container</res-auth>
      </resource-ref>
    </session>
    <entity>
      <description>Book</description>
      <display-name>Book</display-name>
      <ejb-name>Book</ejb-name>
      <home>com.novalumen.library.book.BookHome</home>
      <remote>com.novalumen.library.book.Book</remote>
      <ejb-class>com.novalumen.library.book.BookEJB</ejb-class>
      <persistence-type>Bean</persistence-type>
      <prim-key-class>com.novalumen.library.book.BookPK</prim-key-class>
      <reentrant>False</reentrant>
      <resource-ref>
	<res-ref-name>jdbc/BookDB</res-ref-name>
	<res-type>javax.sql.DataSource</res-type>
	<res-auth>Container</res-auth>
      </resource-ref>
    </entity>
    <session>
      <description>UserOrder</description>
      <display-name>UserOrder</display-name>
      <ejb-name>UserOrder</ejb-name>
      <home>com.novalumen.library.user.UserOrderHome</home>
      <remote>com.novalumen.library.user.UserOrder</remote>
      <ejb-class>com.novalumen.library.user.UserOrderEJB</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Bean</transaction-type>
      <ejb-ref>
	<ejb-ref-name>ejb/Book</ejb-ref-name>
	<ejb-ref-type>Entity</ejb-ref-type>
	<home>BookHome</home>
	<remote>Book</remote>
      </ejb-ref>
      <resource-ref>
	<res-ref-name>jdbc/BookDB</res-ref-name>
	<res-type>javax.sql.DataSource</res-type>
	<res-auth>Container</res-auth>
      </resource-ref>
    </session>
  </enterprise-beans>
  <assembly-descriptor>
    <container-transaction>
      <method>
	<ejb-name>Book</ejb-name>
	<method-intf>Remote</method-intf>
	<method-name>setTheme</method-name>
	<method-params>
	  <method-param>com.novalumen.common.util.ThemeRecord</method-param>
	</method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
      <method>
	<ejb-name>Book</ejb-name>
	<method-intf>Remote</method-intf>
	<method-name>getAuthor</method-name>
	<method-params />
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
      <method>
	<ejb-name>Book</ejb-name>
	<method-intf>Remote</method-intf>
	<method-name>getTheme</method-name>
	<method-params />
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
      <method>
	<ejb-name>Book</ejb-name>
	<method-intf>Remote</method-intf>
	<method-name>setTitle</method-name>
	<method-params>
	  <method-param>java.lang.String</method-param>
	</method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
      <method>
	<ejb-name>Book</ejb-name>
	<method-intf>Remote</method-intf>
	<method-name>getCount</method-name>
	<method-params />
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
      <method>
	<ejb-name>Book</ejb-name>
	<method-intf>Remote</method-intf>
	<method-name>setCount</method-name>
	<method-params>
	  <method-param>int</method-param>
	</method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
      <method>
	<ejb-name>Book</ejb-name>
	<method-intf>Remote</method-intf>
	<method-name>getTitle</method-name>
	<method-params />
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
      <method>
	<ejb-name>Book</ejb-name>
	<method-intf>Home</method-intf>
	<method-name>findByPrimaryKey</method-name>
	<method-params>
	  <method-param>com.novalumen.library.book.BookPK</method-param>
	</method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
      <method>
	<ejb-name>Book</ejb-name>
	<method-intf>Home</method-intf>
	<method-name>create</method-name>
	<method-params>
	  <method-param>com.novalumen.library.book.BookPK</method-param>
	  <method-param>int</method-param>
	  <method-param>java.lang.String</method-param>
	  <method-param>java.lang.String</method-param>
	  <method-param>int</method-param>
	</method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
      <method>
	<ejb-name>Book</ejb-name>
	<method-intf>Remote</method-intf>
	<method-name>setAuthor</method-name>
	<method-params>
	  <method-param>java.lang.String</method-param>
	</method-params>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
  </assembly-descriptor>
</ejb-jar>

