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.
To set the EJB pool properties using the Admin Console, go to Configuration > EJB Container > EJB Settings.
Under Pool Settings in the Initial and Minimum Pool Size field enter the minimum number of beans the container creates in the pool.
In the Maximum Pool Size field enter the maximum number of beans the container maintains in the pool, at any time.
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.
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.
Restart the Application Server.
For detailed instructions on configuring the EJB pool, Click Help in the Admin Console.