20050303 Thursday March 03, 2005

Dabbling in JMX

I finally have the chance to do some actual work around the Java Management Extension. This is something that I wanted to do for a very long time but never got the chance to do due to project and timing constraints.

I'm not doing anything complicated right now. Essentially, just defining a few of my classes as MBeans and using a HtmlAdaptor to be able to peek at what is happening within my application. The goal is to make it easier to see how the application is configured and hopefully make it possible to administer it.

I have found what appears to be a good resource on getting up to speed quickly with JMX. Blaine Simpson made available his JMX Accelerated Howto document online. I'm hoping that it's going to jumpstart my understanding of how to use it.

I'm hoping to be able to start blogging about the project that I'm working on as soon as the marketing people give the green light. It may not be quite as exciting as zones or dtrace, but it does have appeal for sysadmins.

-- Fred
( Mar 03 2005, 03:53:10 PM MST ) Permalink Comments [2]
Trackback URL: http://blogs.sun.com/fredjean/entry/dabbling_in_jmx
Comments:

Be sure to use MX4J and not the Sun Reference implementation; among other things, MX4J has one killer feature: the HTTP adapter, which is extremely well designed and allows you to build very flexible Web and HTML interfaces (http://mx4j.sourceforge.net/docs/ch05.html ). Don't confuse it with the pretty useless HTML adapter of the Sun reference implementation (not the difference between HTTP adapter and HTML adapter, that's actually important); MX4J: http://mx4j.sourceforge.net/ (If you use MX4J with Java 5.0, you'll need this link to avoid problems: http://mx4j.sourceforge.net/docs/ch02s07.html#N1014C )

Posted by murphee on March 03, 2005 at 04:55 PM MST #

I'll look at the license to see if I can integrate it. (Some silly corporate requirement I'm afraid ;) )

An other option could be to look at the JDMK, which adds some goodies to the JMX RI.

Thanks for the pointer!

-- Fred

Posted by Frederic Jean on March 03, 2005 at 05:16 PM MST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed