What you are trying to do seems very similar to the jsr-77 stuff in jboss 3, although I don't know if any actual statistics are implemented yet. I suspect statistics would not be hard to implement, and you might find migrating to jboss 3 and implementing the statistics easier than writing a custom solution.
david jencks On 2002.08.21 15:49:59 -0400 Michael Klem wrote: > I am using JMX with JBoss 2.4.4 and came across a confusing > situation. I want to use JMX to monitor how many times each ejb is > called and how long each ejb takes to process a specific command. > > It seems that to make this work easily I would have to create one > mbean for each ejb. For example, EJB1MBean, EJB2MBean, EJB3MBean. > This is not good since the code in each MBean would be identical. > This will, however, allow me to view the data in my browser. > > I would prefer to have an MBean that uses a hashmap to contain an > MBean for each ejb. If I do this, I cannot view the MBeans contained > in the hashmap. > > I am currently reading about dynamic MBeans. Any ideas? > -- > "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 > > ------------------------------------------------------- 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