Java Management Extensions (JMX) Technology Tutorial

Java Management Extensions (JMX)
Java Platform, Standard Edition 6

October, 2006


Contents | Previous | Next

Contents

Preface

1. Getting Started

1.1 Platform Information

1.2 Examples Directory

1.3 Working Directory

2. Essentials of the JMX API

2.1 Standard MBeans

2.1.1 MBean Interface

2.1.2 MBean Implementation

2.1.3 Managing a Resource

2.1.4 Running the Standard MBean Example

2.2 Sending Notifications

2.2.1 NotificationBroadcaster Interface

2.2.2 Running the MBean Notification Example

2.3 Introducing MXBeans

2.3.1 QueueSamplerMXBean Interface

2.3.2 QueueSampler Class

2.3.3 QueueSample Class

2.3.4 Creating and Registering the MXBean in the MBean Server

2.3.5 Running the MXBean Example

2.4 MBean Descriptors

2.4.1 DescriptorKey Annotations

2.4.2 Using MBean Descriptors

2.4.3 Running the MBean Descriptors Example

3. JMX Connectors

3.1 Accessing Standard and Dynamic MBeans via the RMI Connector

3.1.1 Analyzing the Example Classes

3.1.1.1 Server.java

3.1.1.2 SimpleStandardMBean.java

3.1.1.3 SimpleStandard.java

3.1.1.4 SimpleDynamic.java

3.1.1.5 ClientListener.java

3.1.1.6 Client.java

3.1.2 Running the MBean Example

4. Lookup Services

4.1 Initial Configuration

4.1.1 External RMI Registry

4.1.2 External CORBA Naming Service

4.1.3 External LDAP Registry

4.2 Service Location Protocol (SLP) Lookup Service

4.2.1 Analyzing the Example Classes

4.2.1.1 Server.java

4.2.1.2 Client.java

4.2.2 Running the SLP Lookup Service Example

4.2.2.1 Setting up the SLP Lookup Service Example

4.2.2.2 Running the SLP Lookup Service Example

4.3 Jini Lookup Service

4.3.1 Analyzing the Example Classes

4.3.1.1 Server.java

4.3.1.2 Client.java

4.3.1.3 java.policy

4.3.1.4 jini.properties.template

4.3.2 Running the Jini Lookup Service Example

4.3.2.1 Setting up the Jini Lookup Service Example

4.3.2.2 Running the Jini Lookup Service Example

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

4.4.1 Analyzing the Example Classes

4.4.1.1 Server.java

4.4.1.2 Client.java

4.4.1.3 jmx-schema.txt

4.4.1.4 60jmx-schema.ldif

4.4.2 Running the JNDI/LDAP Lookup Service Example

4.4.2.1 Setting up the JNDI/LDAP Lookup Service Example

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

5. Security

5.1 Simple Security

5.1.1 RMI Connectors With Simple Security

5.1.1.1 Server.java

5.1.1.2 SimpleStandardMBean.java

5.1.1.3 SimpleStandard.java

5.1.1.4 ClientListener.java

5.1.1.5 Client.java

5.1.2 Running the RMI Connector Example With Simple Security

5.2 Subject Delegation

5.2.1 Secure RMI Connectors With Subject Delegation

5.2.1.1 Server.java

5.2.1.2 java.policy

5.2.1.3 SimpleStandardMBean.java

5.2.1.4 SimpleStandard.java

5.2.1.5 ClientListener.java

5.2.1.6 Client.java

5.2.2 Running the Secure RMI Connector Example With Subject Delegation

5.3 Fine-Grained Security

5.3.1 RMI Connectors With Fine-Grained Security

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

5.3.1.2 java.policy

5.3.1.3 SimpleStandardMBean.java

5.3.1.4 SimpleStandard.java

5.3.1.5 ClientListener.java

5.3.1.6 Client.java

5.3.2 Running the RMI Connector Example With Fine-Grained Security

 


Contents | Previous | Next