wood burning stoves
The moose likes EJB and other Java EE Technologies and the fly likes JMX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMX" Watch "JMX" New topic


Chandraprabha Rajput
Ranch Hand

Joined: Apr 01, 2003
Posts: 37
Hi ,

How i can monitore a allready running class using ModelBean.

Note:class is not a sigleton class
Henry Wong

Joined: Sep 28, 2004
Posts: 20365

JMX isn't a black magic monitoring system that can monitor anything -- it is more of a framework that enables you to monitor anything.

To be able to monitor the thing that you want, there has to be a mechanism (an API) that can be use to fetch the monitor data. There has to be an MBean that will use that API and monitor the thing. And finally, as a client, you have to instantiate and use the MBean, as it is supposed to be used.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
I agree. Here's the link: http://aspose.com/file-tools
subject: JMX
It's not a secret anymore!