Contents | Previous | Next | Java Management Extensions (JMX) Technology Tutorial

## Preface

The Java TM Management Extensions (JMX TM) Technology Tutorial provides examples of how to use the main features of the JMX technology that is provided with the Java 2 Platform, Standard Edition (J2SE).

## Before You Read This Book

The Java Management Extensions (JMX) Technology Tutorial demonstrates the concepts and technology that are introduced in the Java Management Extensions (JMX) Technology Overview. You should, therefore, read the overview before attempting to work through this tutorial. To make full use of the information in this tutorial, you should be familiar with the following protocols and specifications:

- Remote Method Invocation (RMI)
- Lightweight Directory Access Protocol (LDAP)
- Service Location Protocol (SLP)
- JiniTM Network Technology
- Java Naming and Directory InterfaceTM (JNDI) API
- Java Secure Socket Extension (JSSE)
- Java Authentication and Authorization Service (JAAS)

## How This Book Is Organized

This tutorial provides examples in broad categories, presented in the following chapters.

- Chapter 1, "Getting Started" gives you some initial configuration information.
- Chapter 2, "Essentials of the JMX API" introduces the core notions of the JMX specification.
- Chapter 3, "JMX Connectors" provides examples of how to implement the standard and dynamic types of MBean, and perform operations on them both locally and remotely.
- Chapter 4, "Lookup Services" demonstrates the lookup services that can be used in conjunction with the JMX technology.
- Chapter 5, "Security" shows some examples of security configurations.

## Related Documentation

This tutorial is accompanied by the following documents:

- Java Management Extensions Technology Overview
- Java Management Extensions Instrumentation and Agent Specification v1.2
- Java Management Extensions Remote API Specification 1.0

The two specification documents are available from the JMX technology Web page: `http://java.sun.com/products/JavaManagement/`

## About This Tutorial

As previously stated, this tutorial demonstrates some of the concepts that are described in the Java Management Extensions (JMX) Technology Overview. This tutorial is intended to be read in order, from beginning to end, working through the examples as you go. Actions you perform at the beginning of the tutorial might be required parts of subsequent examples. Consequently, starting mid-way through the tutorial might cause you to skip actions required by certain examples.

Where you are required to perform a task, the instructions are presented in bold text and marked with an action number; sub-tasks are marked with a lower-case letter, as shown in the following example:

1. Perform a task.

Description of how to perform that task.

1. Perform a sub-task.

Description of how to perform that sub-task.

2. Perform another task.

And so on

## Typographic Conventions

Typeface | Meaning | Examples
--- | --- | ---
`AaBbCc123` | The names of commands, files, and directories; on-screen computer output | Edit your `.login` file. Use `ls -a` to list all files. `% You have mail`.
AaBbCc123 | What you type, when contrasted with on-screen computer output | `%` su `Password:`
AaBbCc123 | Book titles, new words or terms, words to be emphasized Command-line variable; replace with a real name or value | Read Chapter 6 in the User’s Guide. These are called class options. You must be superuser to do this. To delete a file, type `rm` filename.

##

## Shell Prompts

Shell | Prompt
--- | ---
C shell | machine_name`%`
C shell superuser | machine_name`#`
Bourne shell and Korn shell | `$`
Bourne shell and Korn shell superuser | `#`

##

## Accessing Sun Documentation Online

The `docs.sun.com` SM web site enables you to access Sun technical documentation on the Web. You can browse the `docs.sun.com` archive or search for a specific book title or subject at:

`http://docs.sun.com/`

## Ordering Sun Documentation

Sun Microsystems offers select product documentation in print. For a list of documents and how to order them, see “Buy printed documentation” at:

`http://docs.sun.com/`

## Sun Welcomes Your Comments

We are interested in improving our documentation and welcome your comments and suggestions. You can email your comments to us at:

jmx@sun.com

Please include the name of your document in the subject line of your email.

Contents | Previous | Next | Java Management Extensions (JMX) Technology Tutorial Java Management Extensions (JMX), Java 2 Platform, Standard Edition 5.0

Copyright © 2004 Sun Microsystems, Inc. All rights reserved.