![]() |
JMX Agent and Instrumentation Reference Implementation |
The best way to understand the JMXTM architecture as it is running is to view it through the HTML protocol adaptor in the base agent example. TheBaseAgent
class is a minimal agent application which can also be used for testing and debugging. The HTML adaptor provides a view of the agent and its registered MBeans through a basic interface on any web browser.This tutorial is aimed at JMX beginners: it explains some of the basic concepts of the JMX architecture and remote management while demonstrating the interface of the HTML adaptor. The action items for stepping through the topics are identified by the "Action: " paragraph lead-in. JMX experts might be interested in the description of the HTML adaptor MBean which is used as an example in Instantiating and Managing MBeans.
Tutorial Topics:
The HTML adaptor relies mostly on plain HTML in order to be compatible with as many browsers as possible. The only JavaScriptTM that the generated pages contain are pop-up windows for displaying information. Browsers that are not JavaScript enabled might give an incompatibility message and will not be able to display the information. Otherwise, the generated pages contain no further scripting (JavaScript, Visual Basic or other), no frames and no images that might slow down loading.
- Launching the Base Agent
- The Agent View
- The MBean View
- Agent Administration
- Instantiating and Managing MBeans
- Standard and Dynamic MBeans
- Filtering the MBean List
- Conclusion
Note: The HTML adaptor is a tool provided in this software bundle for demonstration purposes. Its classes are not defined by the JMX specification and are therefore not part of the JMX reference implementation.
![]() Launching the Base Agent |
Copyright 2000-2002
Sun Microsystems, Inc.,
901 San Antonio Road, Palo Alto, CA 94303, USA.
All rights reserved.