Java Management Extensions

From Wikipedia, the free encyclopedia

Jump to: navigation, search

Java Management Extensions (JMX) is a Java technology that supplies tools for managing and monitoring applications, system objects, devices (e. g. printers) and service oriented networks. Those resources are represented by objects called MBeans (for Managed Bean). In the API, classes can be dynamically loaded and instantiated. Managing and monitoring applications can be designed and developed by Java Dynamic Management Kit.

JMX 1.0, 1.1 and 1.2 were defined by JSR 003[1] of the Java Community Process. As of 2006, JMX 2.0 is being developed under JSR 255.[2] The JMX Remote API 1.0 for remote management and monitoring is specified by JSR 160.[3] An extension of the JMX Remote API for Web Services is being developed under JSR 262.[4]

Adopted early on by the J2EE community, JMX has been a part of J2SE since version 5.0. It is a trademark of Sun Microsystems, Inc.

Contents

[edit] Architecture

JMX architecture.

JMX is based on a 3-level architecture:

  • The Probe level contains the probes (called MBeans) instrumenting the resources. Also called the Instrumentation level.
  • The Agent level, or MBeanServer, is the core of JMX. It is an intermediary between the MBean and the applications.
  • The Remote Management level enables remote applications to access the MBeanServer through Connectors and Adaptors. A connector provides full remote access to the MBeanServer API using various communication frameworks (RMI, IIOP, JMS, WS-* …), while an adaptor adapts the API to another protocol (SNMP, …) or to Web-based GUI (HTML/HTTP, WML/HTTP, …).

Applications can be generic consoles (such as JConsole[5] and MC4J[6]), or domain-specific (monitoring) applications. External applications can interact with the MBeans through the use of JMX connectors and protocol adapters. Connectors are used to connect an agent with a remote JMX-enabled management application. This form of communication involves a connector in the JMX agent and a connector client in the management application.

Protocol adapters provide a management view of the JMX agent through a given protocol. Management applications that connect to a protocol adapter are usually specific to the given protocol.

[edit] Support

JMX is supported at various levels by different vendors:

[edit] See also

[edit] References

  1. ^ JSR 003: JavaTM Management Extensions (JMXTM) Specification
  2. ^ JSR 255: JavaTM Management Extensions (JMXTM) Specification, version 2.0
  3. ^ JSR 160: JavaTM Management Extensions (JMX) Remote API
  4. ^ JSR 262: Web Services Connector for Java Management Extensions (JMX) Agents
  5. ^ Using JConsole to Monitor Applications
  6. ^ MC4J is a project to create management software for J2EE application servers and other Java applications.

[edit] Books

[edit] External links

Articles
Personal tools