About
A JMX agent consists of:
- an MBean server, in which MBeans are registered,
- and a set of services to manage MBeans.
- and at least one communications adaptor or connector to allow access by a management application.
JMX agents are usually located on the same machine as the resources they control, but this is not a requirement.
Articles Related
How to
Start an application with the JMX agent
java -Dcom.sun.management.jmxremote.port=1090
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-jar myApplication.jar
This instruction uses the Sun's built-in support to enable a JMX agent.
You can programmatically start a JMX agent with the RMI connector using javax.management.remote API.
JMX service URL
To connect to a Jmx agent, you use a Jmx Service Url