Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

- Previous: pm-descriptors
- Next: port-component-name

## pool-idle-timeout-in-seconds

Specifies the maximum time, in seconds, that a bean instance is allowed to remain idle in the pool. When this timeout expires, the bean instance in a pool becomes a candidate for passivation or deletion. This is a hint to the server. A value of 0 specifies that idle beans remain in the pool indefinitely. Default value is 600.

Applies to stateless session beans, entity beans, and message-driven beans.

Note –

For a stateless session bean or a message-driven bean, the bean is removed (garbage collected) when the timeout expires.

### Superelements

bean-pool (`sun-ejb-jar.xml`)

### Subelements

none - contains data

- Previous: pm-descriptors
- Next: port-component-name

- © 2010, Oracle Corporation and/or its affiliates