The Java Management Extensions (JMX) API is a standard API for management and monitoring of resources such as applications, devices, services, and the Java virtual machine. The JMX technology was originally developed through the Java Community Process (JCP) as Java Specification Request (JSR) 3, Java Management Extensions, and JSR 160, JMX Remote API.
Typical uses of the JMX technology include:
The JMX API includes remote access, so a remote management program can interact with a running application for these purposes.
In addition to the above examples, you can download the Java SE Demos and Samples bundle. Once you have unzipped the bundle, a sample application that demonstrates a real-life implementation of the JMX API can be found in the following directory:
JDK_HOME/sample/jmx/jmx-scandir
The jmx-scandir
example is an advanced example, which
presents advanced concepts of the JMX API in a real-world
scenario.