I have Stateless Session bean,  that I would like to collect some runtime stats 
on.  For example, how often it catches a RollBack exception, how many times it 
retries, etc.

My thinking is that these run time status represent a form of instrumentation.  
And that as soon as I think instrumentation I should be thinking JMX.  Does 
this make sense?

If so, it is simple to make my own MBean and have the EJB talk to it.  I can 
even put my initialization values, such as number of retires, right into the 
MBean.  But isn't there an even easier way?  Since all JBoss EJBs are 
implemented as MBeans anyway isn't there just some way to collect this stuff in 
that MBean?

dt

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to