Measures reported by JEUSEJBSLSBTest
A stateless session bean is a type of enterprise bean, which is normally used to perform independent operations. A stateless session bean as per its name does not have any associated client state, but it may preserve its instance state. EJB Container normally creates a pool of few stateless bean's objects and use these objects to process client's request. The stateless container manages stateless session beans, which, by definition, do not carry client-specific states. All session beans (of a particular type) are considered equal. A stateless session bean container uses a bean pool to service requests.
This test monitors the stateless containers and reports the number and nature of methods that were invoked on each container. In the process, the test reports the status of the stateless session beans - whether they have just been created, or are in the ‘ready’ state, in the ‘passivate’ state, or have been removed from the container. Additionally, this test also reveals the count of active EJB beans in each container.
Outputs of the test : One set of results for each stateless session bean container configured on the target server being monitored.
The measures made by this test are as follows:
| Measurement |
Description |
Measurement Unit |
Interpretation |
| createCount |
Indicates the number of times the create method was called on this container during the last measurement period. |
Number |
|
| methodReadyCount |
Indicates the number of times the remedy method was called on this container during the last measurement period. |
Number |
Greater the value of this measure, better will be the application performance. |
| removeCount |
Indicates the number of number of times the remove method was invoked on this container during the last measurement period. |
Number |
|
| passiveCount |
Indicates the number of number of times the passive method was invoked on this container during the last measurement period. |
Number |
The container invokes the Passivate method within the bean to provide the bean with a chance to clean up its resources, such as sockets held, database connections, and hash tables with static information. All these resources can be reallocated and re-created during the ejbActivate method. |
| activeEJBBeanCount |
Indicates the number of ejb beans that are currently available for processing the client requests. |
Number |
A high value is desired for this measure. A low value indicates that adequate beans are not available to service the client requests. |
| totalEJBBeanCount |
Indicates the total count of the ejb beans on this container during the last measurement period. |
Number |
|
|