Java Management Extensions (JMX)

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:

  • Consulting and changing application configuration
  • Accumulating statistics about application behavior and making them available
  • Notifying of state changes and erroneous conditions.

The JMX API includes remote access, so a remote management program can interact with a running application for these purposes.

Overview

  • Overview - This overview provides an introduction to the JMX technology.

API Specification

  • API Reference - Online documentation for all JMX packages, classes and members of the agent and instrumentation RI, as generated by the Javadoc tool.

Tutorials and Programming Guides

  • JMX Tutorial - This tutorial presents some examples of the features of the JMX technology.
  • Examples - The JMX reference implementation contains code examples for different areas of JMX operation.

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.

API Enhancements

More Information


Oracle and/or its affiliatesCopyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.