<?xml version="1.0"?>
<jboss
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                            http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
        version="3.0">
      <enterprise-beans>
         <session>
            <ejb-name>OverrideStrictlyPooledSessionBean</ejb-name>
            <annotation>
               <annotation-class>org.jboss.annotation.ejb.PoolClass</annotation-class>
               <annotation-implementation-class>org.jboss.annotation.ejb.PoolClassImpl</annotation-implementation-class>
               <property>
                  <property-name>value</property-name>
                  <property-value>org.jboss.ejb3.StrictMaxPool</property-value>
               </property>
               <property>
                  <property-name>maxSize</property-name>
                  <property-value>5</property-value>
               </property>
               <property>
                  <property-name>timeout</property-name>
                  <property-value>10000</property-value>
               </property>
            </annotation>
            <!--pool-config>
               <pool-class>org.jboss.ejb3.StrictMaxPool</pool-class>
               <pool-max-size>5</pool-max-size>
               <pool-timeout>10000</pool-timeout>
            </pool-config-->
         </session>
         <message-driven>
            <ejb-name>OverrideStrictlyPooledMDB</ejb-name>
            <!--annotation>
               <annotation-class>org.jboss.annotation.ejb.PoolClass</annotation-class>
               <annotation-implementation-class>org.jboss.annotation.ejb.PoolClassImpl</annotation-implementation-class>
               <property>
                  <property-name>value</property-name>
                  <property-value>org.jboss.ejb3.StrictMaxPool</property-value>
               </property>
               <property>
                  <property-name>maxSize</property-name>
                  <property-value>5</property-value>
               </property>
               <property>
                  <property-name>timeout</property-name>
                  <property-value>10000</property-value>
               </property>
            </annotation-->
            <pool-config>
               <pool-class>org.jboss.ejb3.StrictMaxPool</pool-class>
               <pool-max-size>5</pool-max-size>
               <pool-timeout>10000</pool-timeout>
            </pool-config>
         </message-driven>
      </enterprise-beans>
   </jboss>