Documentation Contents

 

Java Management Extensions (JMX) Technology Tutorial

Java Management Extensions (JMX)
Java Platform, Standard Edition version 7

August, 2008


Contents | Previous | Next

Contents

Preface

1. Getting Started

Platform Information

Examples Directory

Working Directory

2. Essentials of the JMX API

Standard MBeans

MBean Interface

MBean Implementation

Managing a Resource

Running the Standard MBean Example

Sending Notifications

NotificationBroadcaster Interface

Running the MBean Notification Example

Introducing MXBeans

QueueSamplerMXBean Interface

QueueSampler Class

QueueSample Class

Creating and Registering the MXBean in the MBean Server

Running the MXBean Example

MBean Descriptors

DescriptorKey Annotations

Using MBean Descriptors

Running the MBean Descriptors Example

3. JMX Connectors

Accessing Standard and Dynamic MBeans via the RMI Connector

Analyzing the Example Classes

Server.java

SimpleStandardMBean.java

SimpleStandard.java

SimpleDynamic.java

ClientListener.java

Client.java

Running the MBean Example

4. Lookup Services

Initial Configuration

External RMI Registry

External CORBA Naming Service

External LDAP Registry

Service Location Protocol (SLP) Lookup Service

Analyzing the Example Classes

Server.java

Client.java

Running the SLP Lookup Service Example

Setting up the SLP Lookup Service Example

Running the SLP Lookup Service Example

Jini Lookup Service

Analyzing the Example Classes

Server.java

Client.java

java.policy

jini.properties.template

Running the Jini Lookup Service Example

Setting up the Jini Lookup Service Example

Running the Jini Lookup Service Example

Java Naming and Directory Interface (JNDI) / LDAP Lookup Service

Analyzing the Example Classes

Server.java

Client.java

jmx-schema.txt

60jmx-schema.ldif

Running the JNDI/LDAP Lookup Service Example

Setting up the JNDI/LDAP Lookup Service Example

Running the JNDI/LDAP Lookup Service Example With an RMI Connector

5. Security

Simple Security

RMI Connectors With Simple Security

Server.java

SimpleStandardMBean.java

SimpleStandard.java

ClientListener.java

Client.java

Running the RMI Connector Example With Simple Security

Subject Delegation

Secure RMI Connectors With Subject Delegation

Server.java

java.policy

SimpleStandardMBean.java

SimpleStandard.java

ClientListener.java

Client.java

Running the Secure RMI Connector Example With Subject Delegation

Fine-Grained Security

RMI Connectors With Fine-Grained Security

The files will be analyzed in the following sections.Server.java

java.policy

SimpleStandardMBean.java

SimpleStandard.java

ClientListener.java

Client.java

Running the RMI Connector Example With Fine-Grained Security


Contents | Previous | Next


Oracle and/or its affiliates Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.
Contact Us