|
Measures reported by EgJbEjbTest
A bean is usually an application class that contains business logic. It may be called directly from Java code, or it may be invoked via the Unified EL i.e., Unified Expression language. A bean may access transactional resources. Dependencies between beans are managed automatically by the container. The lifecycle of a bean is always managed by the container. The beans are classified as follows:
- stateless session beans
- stateful session beans
- message driven beans, and
- entity beans
This test auto-discovers the EJBs deployed on the JBoss server and reports critical measures relating to each of the EJB in detail. Using this test, you can figure out the number of times each bean has been invoked and the instances of each bean that can be accommodated in the pool. This way, you could figure out the effective utilization of the pool and the bean in particular.
The measures made by this test are as follows:
| Measurement |
Description |
Measurement Unit |
Interpretation |
| Total_invocations |
Indicates the number of times this bean has been invoked since the start of the server. |
Number |
|
| Avg_execution_time |
Indicates the average time taken to execute the method of this bean during the last measurement period. |
Secs |
A higher value for this measure is a cause for concern. |
| Peak_concurrent_invo |
Indicates the maximum number of times the method of this bean has been invoked. |
Number |
|
| Pool_avail_count |
Indicates the number of instances of this bean that is currently available for use in the pool. |
Number |
A high value is desired for this measure. |
| pool_create_count |
Indicates the number of bean instances that were created in the pool. |
Number |
|
| Pool_remove_count |
Indicates the number of bean instances that were removed from the pool. |
Number |
|
| Max_pool_size |
Indicates the maximum number of instances of this bean that can be accommodated in the pool. |
Number |
|
| Current_pool_size |
Indicates the number of instances of this bean that are currently utilized in the pool. |
Number |
If the value of this measure is equal to the Max_pool_size measure, then you can increase the Max_pool_size measure to a more desirable value so that the bean instances are readily available for use. |
| Pool_utilization |
Indicates the percent of beans that have been utilized from the pool. |
Number |
A high value is indicative of maximum utilization of the bean instances from the pool. |
|