
EJB Performance Tuning
collection is happening too frequently, and the pool size is growing, but the cache hit rate is small, then the
Note – Specifying a
Monitoring Individual EJB Components
To gather method invocation statistics for all methods in a bean, use this command:
asadmin get -m monitorableObject.*
where monitorableObject is a
where moduleName is x_jar for module x.jar.
■
■
■
■
For standalone beans, use this pattern:
The possible identifiers are the same as for
For example, to get statistics for a method in an entity bean, use this command:
asadmin get
34 | Sun GlassFish Enterprise Server 2.1 Performance Tuning Guide • January 2009 |