Table of Contents
Significantly updated 07/2007. Text and instructions have been greatly simplified by assuming that you are using the default JMX implementation in Sun Java 1.5 (or later).
If you notice any mistakes in this document, please email me at blaine.simpson@admc.com so that I can correct them. I've just converted this from Texinfo to Docbook, so there are most likely many mistakes in this revision. You can also email me if you have problems with the procedures explained herein, or if you have questions, comments, suggestions or complaints.
This document is available in several formats.
You may be reading this document right now at http://admc.com/blaine/howtos/jmx, or in a distribution somewhere else. I hereby call the document distribution from which you are reading this, your current distro.
http://admc.com/blaine/howtos/jmx hosts the latest versions of all available formats. If you want a different format of the same version of the document you are reading now, then you should try your current distro. If you want the latest version, you should try http://admc.com/blaine/howtos/jmx.
Sometimes, distributions other than http://admc.com/blaine/howtos/jmx do not host all available formats. So, if you can't access the format that you want in your current distro, you have no choice but to use the newest version at http://admc.com/blaine/howtos/jmx.
Table 1.1. Alternate formats of this document
| format | your distro | at http://admc.com/blaine/howtos/jmx |
|---|---|---|
| Chunked HTML | index.html | http://admc.com/blaine/howtos/jmx/index.html |
| All-in-one HTML | jmx.html | http://admc.com/blaine/howtos/jmx/jmx.html |
| jmx.pdf | http://admc.com/blaine/howtos/jmx/jmx.pdf |
The JMX Accelerated Howto and its sample code are copyrighted with this generous BSD license.
This is an accelerated Howto for experienced Java programmers to really master, both theoretically and practically, the essential features of JMX, a.k.a. Java Management Extensions. You should already understand Java reflection, and how traditional Java Beans work. If you have dabbled with some facets of JMX, but want a more comprehensive understanding of it, this is for you too.
My goal is to get right to what you want to know and skip all the stuff that would be needed to accommodate a wider audience. I provide you with command-line and graphical Adaptors, and refer you to my publicly accessible JMX Manager where you can work with the objects discussed here.
Keep the JMX API Spec(s) handy. The distros for all of the JMX implementations that I know of come with API Specs under their doc (or docs) directory. If you need to code to a JMX class, I assume that you're smart enough to know to look up that class in the corresonding API Spec.
Email me at blaine.simpson@admc.com with simple questions, or if you're having trouble understanding or following the instructions in this guide. I won't design your system or do your coding without compensation, however. Besides implementation work, I'm also available to give classes on JMX and several other Java and UNIX subjects.