| # JavaTM Management Extensions (JMXTM) Examples | Documentation Contents

> The files listed below 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.

> You can also download a Zip file of all the JMX technology examples. For more complete descriptions of how to run the examples, see the JMX Technology Tutorial.

> The following JMX technology examples are provided:

> JMX Essentials

> This example introduces the fundamental notion of the JMX API, namely managed beans, or MBeans.

> View the README file or the source code for the Java classes used:

> - Hello
> - HelloMBean
> - Main

> JMX MBean Notifications

> This example implements MBean notifications.

> View the README file or the source code for the Java classes used:

> - Hello
> - HelloMBean
> - Main

> JMX Connectors

> This example provides a sample implementation of how to connect to MBeans and perform operations on them remotely.

> View the README file or the source code for the Java classes used:

> - Server
> - SimpleStandardMBean
> - SimpleStandard
> - SimpleDynamic
> - ClientListener
> - Client

> Lookup Services

> The JMX API defines three bindings to lookup services, using existing lookup technologies These examples provide a sample implementation of each type of lookup service.

> - Service Location Protocol (SLP) Lookup Service
>   View the README file or the source code for the Java classes used:
>   - Server
>   - Client
> - Jini Lookup Service.
>   View the README file or the source code for the Java classes used:
>   - Server
>   - Client
>   - java.policy
>   - jini.properties.template
> - Java Naming and Directory Interface (JNDI)/LDAP Lookup Service
>   View the README file or the source code for the Java classes used:
>   - Server
>   - Client
>   - jmx-schema.txt
>   - 60jmx-schema.ldif

> Security

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

> These examples provide a sample secure implementations

> - Simple Security
>   View the README file or the source code for the Java classes used:
>   - Server
>   - Client
>   - ClientListener
>   - access.properties
>   - keystore
>   - password.properties
>   - truststore
>   - SimpleStandard
>   - SimpleStandardMBean
> - Security with Subject Delegation
>   View the README file or the source code for the Java classes used:
>   - Server
>   - Client
>   - ClientListener
>   - access.properties
>   - password.properties
>   - java.policy
>   - SimpleStandard
>   - SimpleStandardMBean
> - Fine-Grained Security
>   View the README file or the source code for the Java classes used:
>   - Server
>   - Client
>   - ClientListener
>   - keystore
>   - password.properties
>   - truststore
>   - java.policy
>   - SimpleStandard
>   - SimpleStandardMBean

Copyright © 2004 Sun Microsystems, Inc. All Rights Reserved. Please send comments to: jmx@sun.com | Java Software