Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

ProcedureTo 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 Configurations node.

  2. Select the instance to configure:

    • To configure a particular instance, select the instance’s config node. For example, the default instance, server, select the server-config node.

    • To configure the default settings for all instances, select the default-config node.

  3. Select the EJB Container node.

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

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

  6. 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.

  7. 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.

  8. Click Save.

  9. Restart the Application Server.