Part III Java Management Extensions Examples

The files in this section are code examples demonstrating some of the main features of JMX technology. You can use these examples to develop more complex MBeans and full-featured JMX agents to fit your management solution.

Each example consists of Java source files and a README file. The README file explains the topics covered by the example and instructions for compiling and running the classes. See Java Management Extensions (JMX) Technology Tutorial for more complete descriptions of how to run the examples.

JMX Essentials: Introduces the fundamental notion of the JMX API, namely managed beans, or MBeans.

JMX MBean Notifications: Implements MBean notifications.

MXBeans: Demonstrates the use of MXBeans.

MBean Descriptors: Demonstrates the use of MBean Descriptors.

JMX Connectors: Provides a sample implementation of how to connect to MBeans and perform operations on them remotely.

Lookup Services: The JMX API defines three bindings to lookup services, using existing lookup technologies.

  • Service Location Protocol (SLP) Lookup Service
  • Java Naming and Directory Interface (JNDI)/LDAP Lookup Service

Security: The JMX API implements existing security protocols to secure your connections.

  • Simple Security
  • Fine-Grained Security