Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide

- Previous: Session Store Location
- Next: To configure EJB cache settings

## To configure EJB pool settings

The container maintains a pool of enterprise beans in order to respond to client requests without the performance hit that results from creating the beans. These settings only apply to stateless session beans and entity beans.

If you experience performance problems in an application that uses deployed enterprise beans, creating a pool, or increasing the number of beans maintained by an existing pool, can help increase the application’s performance.

By default, the container maintains a pool of enterprise beans.

1. In the tree component, select the Configuration node.

2. Select the EJB Container node.

3. Under Pool Settings in the Initial and Minimum Pool Size field enter the minimum number of beans the container creates in the pool.

4. In the Maximum Pool Size field enter the maximum number of beans the container maintains in the pool, at any time.

5. In the Pool Resize Quantity field enter the number of beans that will be removed from the pool if they are idle for more than the time specified in Pool Idle Timeout.

6. In the Pool Idle Timeout field enter the time, in seconds, that a bean in the pool can remain idle before it will be removed from the pool.

7. Click Save.

8. Restart the Application Server.

- Previous: Session Store Location
- Next: To configure EJB cache settings

- © 2010, Oracle Corporation and/or its affiliates