Measures reported by JEUSEJBSFSBTest
A stateful session bean is a type of enterprise bean, which preserve the conversational state with client. A stateful session bean as per its name keeps associated client state in its instance variables. EJB Container creates a separate stateful session bean to process client's each request. As soon as request scope is over, statelful session bean is destroyed.
This test monitors the stateful container and reports the number and nature of methods that were invoked on each container. In the process, the test reports the status of the stateful session beans - whether they have just been created, are in the ‘ready’ state, are in the ‘passivate’ state, or have been removed from the container. Additionally, this test also reveals insights on the EJB beans and EJB objects in each statefull container.
Outputs of the test : One set of results for each stateful 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. |
| activeEJBObjectCount |
Indicates the number of ejb objects that are currently active in this container. |
Number |
|
| autoRemovedEJBObjectCoun |
Indicates the number of ejb objects that were removed from this container during the last measurement period. |
Number |
|
| totalEJBObjectCount |
Indicates the total number of ejb objects in this container. |
Number |
|
| 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 |
|
|