Oracle GlassFish Server 3.0.1 Application Deployment Guide

Subelements

The following table describes subelements for the bean-pool element.

Table C–10 bean-pool Subelements

Element 

Required 

Description 

steady-pool-size

zero or one 

Specifies the initial and minimum number of beans maintained in the pool. Default is 32. 

resize-quantity

zero or one 

Specifies the number of beans to be created if the pool is empty (subject to the max-pool-size limit). Values are from 0 to MAX_INTEGER.

max-pool-size

zero or one 

Specifies the maximum number of beans in the pool. Values are from 0 to MAX_INTEGER. Default is to the EJB container value or 60. 

max-wait-time-in-millis

zero or one 

Deprecated. 

pool-idle-timeout-in-seconds

zero or one 

Specifies the maximum time that a bean is allowed to be idle in the pool. After this time, the bean is removed. This is a hint to the server. Default time is 600 seconds (10 minutes).