Choose JMX implementation
Jakarta > HiveMind
Jakarta
 
Font size:      

Choose JMX implementation

First of all you have to choose how all the JMX infrastructure is provided. Various JMX implementations are freely available.

HiveMind uses MX4J for development and testing, but it can run with any other JMX 1.2 implementation. HiveMind has additionally been tested with the Sun Reference Implementation and J2SE 1.5.

Note
Since HiveMind MBeans use MX4J AbstractDynamicMBean as ancestor the mx4j.jar from the MX4J library is always needed in your classpath.

MX4J

Get MX4J here in version 2.x or grab the libraries from the ext-package/lib folder after an ant build of HiveMind

Add mx4j.jar, mx4j-tools.jar to the classpath. Add mx4j-remote.jar only if you use JSR 160 connectors.

J2SE 1.5

If your application runs with Sun J2SE 1.5 no additional libraries are needed (besides mx4j.jar, see note above). This can change later if you decide to use HTTP to manage your application.

Sun Reference Implementation

The Sun RI can be downloaded here in version 1.2.1

Add jmxri.jar and jmxtools.jar to the classpath. Add mx4j.jar to your classpath (see note above) and ensure that it's behind the SUN jars.