wood burning stoves 2.0*
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMX" Watch "JMX" New topic
Author

JMX

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
author
Sheriff

Joined: Sep 28, 2004
Posts: 18914
    
  40

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.

Henry


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