For any given EJB, there will be a corresponding mbean with the name (all one 
big string without spaces, I reformatted it to make it easier to read):

jboss.management.local:
EJBModule=XXXX.jar,
J2EEApplication=YYYYY.ear,
J2EEServer=Local,
j2eeType=StatelessSessionBean,
name=ZZZZZ

where the XXXXX is the name of the jar file that contains the EJBs, YYYYY is 
the name of the ear file that contains the EJB jar file, and ZZZZZ is the name 
of the remote interface.  (At least, this is what the mbean looks like for one 
of my EJBs, there could be other variations.)

The above mbean contains a 'stats' property that contains such things as the 
number of times each method in the ejb was called, and the min and max response 
times.

You can check this data out via the jmx-console.  You can also get the stats 
property value via twiddle, but you first have to change the classpath to 
include the jboss-management.jar file (not sure how kosher that is, but it 
works).


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932988#3932988

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932988


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to