Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: Subelements
- Next: entity-mapping

### Example

    <enterprise-beans>
     <ejb>
    	 <ejb-name>CustomerEJB</ejb-name>
    	 <jndi-name>customer</jndi-name>
    	 <resource-ref>
    		 <res-ref-name>jdbc/SimpleBank</res-ref-name>
    		 <jndi-name>jdbc/PointBase</jndi-name>
    	 </resource-ref>
    	 <is-read-only-bean>false</is-read-only-bean>
    	 <commit-option>B</commit-option>
    	 <bean-pool>
    		 <steady-pool-size>10</steady-pool-size>
    		<resize-quantity>10</resize-quantity>
    		 <max-pool-size>100</max-pool-size>
    		 <pool-idle-timeout-in-seconds>600</pool-idle-timeout-in-seconds>
    	 </bean-pool>
    	 <bean-cache>
    		 <max-cache-size>100</max-cache-size>
    		 <resize-quantity>10</resize-quantity>
    		 <removal-timeout-in-seconds>3600</removal-timeout-in-seconds>
    		 <victim-selection-policy>LRU</victim-selection-policy>
    	 </bean-cache>
     </ejb>
    </enterprise-beans>

- Previous: Subelements
- Next: entity-mapping

- © 2010, Oracle Corporation and/or its affiliates