JMX Section Index
What are the three types of bindings to lookup services?
The JMX specification defines three types: Service Location Protocol (SLP) Lookup Service, Jini Lookup Service, and Java Naming and Directory Interface (JNDI) / LDAP Lookup Service.
How do you specify the address of a JMX connector server?
The JMXServiceURL allows you to specify the URL like service:jmx:protocol:sap where protocol might be something like rmi and sap is the address at which the connector server is located. Once suc...more
What does an MBean interface consist of?
Methods in the interface provide either accessors to attributes or operations to execute.
What interface must an MBean implement?
There is no single interface that an MBean implements. Instead, an MBean is defined by creating an interface called XXXMBean and a class called XXX, implementing the interface.
Which JSR defines JMX?
JSR 3 defined the original version of JMX. Other JSRs define newer aspects of JMX:
JSR 160 - JMX Remoting 1.0
JSR 146 - WBEM Services: JMX Provider Protocol Adapter
JSR 71 - JMX-TMN Specificatio...more
Where can I find a tutorial on JMX?
Sun provides a tutorial for JMX with JDK 5.0 at http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial/tutorialTOC.html.more
What server should my JMX application connect to?
To get the platform's MBean server, ask the ManagementFactory:
MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
When running a JMX application, what do I connect with to see the current information to monitor?
The jconsole command-line tool allows you to connect to both local and remote virtual machines to monitor status information.
What is JMX?
JMX is the Java Management Extensions. It provides a way to manage and monitor resources, as in network devices or applications. Classes are found in the javax.management package and its subpackages.more
Why should a Java developer care about JMX?
There are several reasons to do so:
When a Java developer creates components (JavaBeans) he/she should also
provide a way to manage these components because the usage is unknown and
the buyer of...more