The Java Dynamic Management Kit product includes both printable and online documentation, as well as an exhaustive set of programming examples.
The HTML documentation is available after an installation of the product that includes the documentation package. On the machine where you installed the product, open the following URL in any browser:
In a Solaris environment: file:/opt/SUNWjdmk/jdmk4.2/JDKversion/index.html |
On Window NT: file:/Program Files/SUNWjdmk/jdmk4.2/JDKversion/index.html |
This page contains links to all the product documentation supplied online with the Java Dynamic Management Kit, including:
Getting Started with the Java Dynamic Management Kit 4.2
Java Dynamic Management Kit 4.2 Tools Reference
Java Dynamic Management Kit 4.2 Tutorial
Java Dynamic Management Kit 4.2 Installation Guide and Release Notes (this document).
The Java Dynamic Management Kit API specification generated by JavadocTM; the separate Collections API is also included in the JDK 1.1 version of the product.
The JMX specification document.
Complete PostScriptTM and PDF versions of the above books are supplied on the CD-ROM of the product. These files are located in the docs directory at the common root of the CD-ROM.
The documents are formatted for US Letter paper size (8.5 x 11 inches), but the they can be loaded by any appropriate document viewer or printed directly to any printer, regardless of the default paper size. The text area on each page will fit on all standard paper sizes.
Sample applications which demonstrate most of the functionality of the Java Dynamic Management Kit are provided in the examples package of the product. If you installed this package, the Java source files and README text files for these applications are located in subdirectories under:
installDir/SUNWjdmk/jdmk4.2/JDKversion/examples |
On the Solaris platform, writing to this directory requires super-user privileges. In order to compile the example programs, users should copy the examples hierarchy to a more accessible location.
The README file for each example gives a brief explanation of the source files and the instructions for running its application. Further explanation for most examples is given in the Java Dynamic Management Kit 4.2 Tutorial.
The examples directory also contains the JdmkProxyMBeans subdirectory which provides proxy MBeans for all of the Java Dynamic Management Kit components that support them. These are generated by the mibgen tool and will need to be compiled in the normal way before use. They can then be used to provide proxy objects in your manager applications for the agent-side service MBeans.