<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

   <ejb-jar>
      <description>Utility EJBs</description>
      <display-name>Util</display-name>
      <enterprise-beans>
         <entity>
            <description>Sequence Entity bean</description>
            <display-name>SequenceEnt</display-name>
            <ejb-name>SequenceEnt</ejb-name>
            <local-home>org.spec.jappserver.util.sequenceent.ejb.SequenceEntHomeLocal</local-home>
            <local>org.spec.jappserver.util.sequenceent.ejb.SequenceEntLocal</local>
            <ejb-class>org.spec.jappserver.util.sequenceent.ejb.SequenceCmp20EJB</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>SequenceEnt</abstract-schema-name>
            <cmp-field>
               <field-name>id</field-name>
            </cmp-field>
            <cmp-field>
               <field-name>nextNumber</field-name>
            </cmp-field>
            <cmp-field>
               <field-name>blockSize</field-name>
            </cmp-field>
            <primkey-field>id</primkey-field>
            <env-entry>
               <description>The debug level of the bean - higher
		value means more information.</description>
               <env-entry-name>debuglevel</env-entry-name>
               <env-entry-type>java.lang.Integer</env-entry-type>
               <env-entry-value>0</env-entry-value>
            </env-entry>
            <query>
               <query-method>
                  <method-name>findAll</method-name>
                  <method-params>
                  </method-params>
               </query-method>
               <ejb-ql>SELECT OBJECT(a) FROM SequenceEnt AS a</ejb-ql>
            </query>
         </entity>
         <session>
            <description>Sequence Session Bean</description>
            <display-name>SequenceSes</display-name>
            <ejb-name>SequenceSes</ejb-name>
            <home>org.spec.jappserver.util.sequenceses.ejb.SequenceSesHome</home>
            <remote>org.spec.jappserver.util.sequenceses.ejb.SequenceSes</remote>
            <ejb-class>org.spec.jappserver.util.sequenceses.ejb.SequenceSesEJB</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
            <env-entry>
               <description>The debug level of the bean - higher
		value means more information.</description>
               <env-entry-name>debuglevel</env-entry-name>
               <env-entry-type>java.lang.Integer</env-entry-type>
               <env-entry-value>0</env-entry-value>
            </env-entry>
            <ejb-local-ref>
               <description>Sequence Entity Bean</description>
               <ejb-ref-name>ejb/SequenceEntLocal</ejb-ref-name>
               <ejb-ref-type>Entity</ejb-ref-type>
               <local-home>org.spec.jappserver.util.sequenceent.ejb.SequenceEntHomeLocal</local-home>
               <local>org.spec.jappserver.util.sequenceent.ejb.SequenceEntLocal</local>
               <ejb-link>SequenceEnt</ejb-link>
            </ejb-local-ref>
         </session>
      </enterprise-beans>
      <assembly-descriptor>
         <container-transaction>
            <method>
               <ejb-name>SequenceEnt</ejb-name>
               <method-name>*</method-name>
            </method>
            <trans-attribute>RequiresNew</trans-attribute>
         </container-transaction>
         <container-transaction>
            <method>
               <ejb-name>SequenceSes</ejb-name>
               <method-name>*</method-name>
            </method>
            <trans-attribute>NotSupported</trans-attribute>
         </container-transaction>
      </assembly-descriptor>
   </ejb-jar>
