uCosminexus Application Server, EJB Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

2.9.1 Pooling of Stateless Session Beans

The pooling of Stateless Session Beans is a functionality to pool the Stateless Session Beans based on the access volume from the client. In the EJB container, you create a pool for each Stateless Session Bean and manage these pools. By specifying the maximum value#, and the minimum value, the pooling operation can be customized.

When a J2EE application is started, Stateless Session Beans equivalent to the minimum value are generated and pooled. If the pooled Stateless Session Beans in the method-ready state are accessed from the client, they are executed immediately. The number of pooled Stateless Session Beans will be between the maximum and minimum values, depending upon the access volume from the client.

If the number of client requests for these Stateless Session Beans exceeds the maximum number, the execution of Stateless Session Beans is put on hold until the instance becomes usable.

#
The maximum value of pooling in Stateless Session Beans becomes the maximum number of sessions that can be established concurrently by the client.