Sun Microsystems
Products & Services
 
Support & Training
 
 

     Contents     Index     Next Next

Java Dynamic Management Kit 5.1 Tutorial

Preface

The Java™ Dynamic Management Kit (Java DMK) 5.1 provides a set of Java classes and tools for developing dynamic management solutions. This product conforms to the Java Management Extensions (JMX), v1.2 Maintenance Release, and the JMX Remote API, v1.0. These specifications define a three-level architecture:

  • Instrumentation of resources

  • Dynamic agents

  • Remote management applications

The JMX architecture is applicable to network management, remote system maintenance, application provisioning, and the management needs of the service-based network.

Once you are familiar with management concepts, the Java Dynamic Management Kit 5.1 Tutorial is intended to demonstrate each of the management levels and how they interact. The parts of this tutorial will show you:

  • The different ways of making your resources manageable

  • How to write an agent and add management services dynamically

  • How to access your resources from a remote management application

  • The mechanism used to forward events and exceptions from agent to manager

Taken as a whole, these topics will demonstrate the complete development process for implementing a management solution in the Java programming language.

This book also features a part devoted to the details of programming simple network management protocol (SNMP) managers and agents (peers) using the Java DMK.

Changes Between Versions 5.0 and 5.1 of Java DMK

The following are the main changes and additions to Java DMK since the 5.0 release:

  • Instrumentation and Agent services compatible with the latest JMX 1.2 Maintenance Release.

  • Secure and interoperable remote access compatible with the new JMX Remote API 1.0 Specification, including support for both the RMI-based and JMXMP-based standard connectors (see Chapter 9, Protocol Connectors).

  • Flexible authentication and privacy based on the Simple Authentication and Security Layer (SASL) 1.1 Specification and TLS (see Chapter 11, Connector Security).

  • SASL mechanisms providing authentication: SASL-PLAIN, DIGEST-MD5, CRAM-MD5, and GSSAPI/Kerberos (see 11.4.2 SASL Provider).

  • SASL mechanisms providing connection privacy: DIGEST-MD5 and GSSAPI/Kerberos (see 11.4.1 SASL Privacy).

  • Fine-grained access control based on an authenticated client (see 11.3 Fine-Grained Security).

  • Wrapping of existing Java DMK 5.0 RMI and HTTP(S) connectors such that applications based on the standard JMX Remote API can interoperate with existing Java DMK-based applications (see 9.5 Wrapping Legacy Connectors).

  • Enhanced Cascading service, supporting both the JMX Remote API connectors and the legacy Java DMK connectors (see Chapter 14, Cascading Service).

  • Enhanced Discovery service, allowing the discovery of Java DMK based applications using legacy connectors as well as those using the new connectors (see Chapter 15, Discovery Service).

Who Should Use This Book

This tutorial is for developers who would like to learn how to instrument new or existing resources for management, write dynamic agents, or write management applications. You should be familiar with Java programming. Some tutorials also rely on system and network management concepts: knowledge of these is helpful, though not required.

This book is not intended to be an exhaustive reference. Management concepts and product features are covered in the Java Dynamic Management Kit 5.1 Getting Started Guide, and the complete API documentation generated by the Javadoc™ tool are provided in the online documentation package.

Before You Read This Book

To build and run the sample programs in this tutorial or use the tool commands provided in the Java DMK, you must have a complete installation of the product on your system. Before programming with the Java DMK you should be familiar with the concepts and tools used throughout this tutorial.

Related Documentation

The Java DMK documentation set includes the following documents:

Book Title

Part Number

Java Dynamic Management Kit 5.1 Installation README

N/A

Java Dynamic Management Kit 5.1 Getting Started Guide

816-7607

Java Dynamic Management Kit 5.1 Tutorial

816-7609

Java Dynamic Management Kit 5.1 Tools Reference Guide

816-7608

Java Dynamic Management Kit 5.1 Release Notes

N/A

These books are available online after you have installed the Java DMK documentation package. The online documentation also includes the API documentation generated by the Javadoc tool for the Java packages and classes. To access the online documentation, using any web browser, open the home page corresponding to your platform.

Operating Environment

Homepage Location

Solaris / Linux / Windows 2000

installDir/SUNWjdmk/5.1/doc/index.html

In these file names, installDir refers to the base directory or folder of your Java DMK installation. In a default installation procedure, installDir is as follows.

  • /opt on the Solaris or Linux platforms

  • C:\Program Files on the Windows 2000 platform

     Contents     Index     Next Next