JBoss.orgCommunity Documentation
JMX Tools allows to setup multiple JMX connections and provides view for exploring the JMX tree and execute operations directly from Eclipse.
This chapter covers the basics of working with JMX plugin, which is used to manage Java applications through JMX and its RMI Connector.
Requirements to use JMX Tools are the following:
JMX Tools is developed on Eclipse 3.4.x milestones
JMX Tools requires that Eclipse is run on a JDK 1.5.0 or above (due to dependencies on JMX packages which were introduced in Java 1.5.0)
JBoss Tools' JMX project is a fork of eclipse-jmx, a project by Jeff Mesnil. It was forked with permission.
For a start, we propose you to look through the table of main features of JMX Tools:
Table 1.1. Key Functionality for JMX Tools
Feature | Benefit | Chapter |
---|---|---|
MBean Explorer | MBean Explorer is a useful view with a text filter that displays domains, mbeans, attributes, and operations inside a connection. | MBean Explorer |
MBean Editor | MBean Editor is a multi-page editor to manage MBeans. | MBean Editor |
Here, we are going to explain how to install the JMX plugin into Eclipse.
JMX Tools is one module of the JBoss Tools project. JMX Tools has no dependency on any other part of JBoss Tools, and can be downloaded standalone. Even though the JMX Tools have no dependencies, other plugins, such as AS Tools, do depend on the JMX Tooling and even extend it.
You can find the JBoss Tools plugins over at the download pages. The only package you'll need to get is the JMX Tooling, however the AS Tools would give you a more full experience when using JMX with JBoss Servers. You can find further download and installation instructions on the JBoss Wiki in the InstallingJBossTools section.
To start using the JMX Tools, it's necessary to open MBean Explorer. Go to Window > Show View > Other and then select MBean Explorer and click OK.
The MBean Explorer lists all of the domains, mbeans, attributes, and operations inside a connection. When you double-click on a MBean in the MBean Explorer, it opens a multi-page editor to manage the MBean. The MBean Editor is composed of these pages:
Attributes page, to get/set the attributes of the MBean
Operations page, to invoke operations on the MBean
Notifications page, to receive notifications from the MBean
Info page, which displays general information about the MBean
You can find a set of benefits and other extra information on: