I wrote some rough JMX code so that for each EJB called, an EJB 
related MBean keeps track of how many times each ejb was called etc. 
My question is that my code currently makes calls to the MBeans in 
order to keep them updated. However, it seems that I would want the 
Mbeans to call the ejbs or other appropriate object only when the 
Mbeans are being viewed on the browser.

My reasoning is that this would avoid any JMX related overhead. It 
doesn't seem to make sense to constantly update the MBeans when they 
aren't being viewed.

I think I want regular Java objects to hold onto my ejb related 
statistic data and then have an MBean send it messages in order to 
get the data or reset the data.

BTW: I am using JBoss 2.4.4 and am still reading thru the JBoss JMX book.
-- 
"If something is too hard, give up. The moral my boy is to never try 
anything." - Homer


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to