[ajug-members] JMX reference/tutorial recommendations
Jason Chambers
tooger at bellsouth.net
Tue Oct 25 17:59:33 EDT 2005
I did some research a while ago and although I can't remember any
resources, I do remember my findings:
o JMX is baked into J2SE as of Tiger / Java 5 so if you are using
Java 5 you are good to go.
o JMX is baked into Tomcat 5+ so you are good to go even if you are
not using Java 5.
o JMX is baked into any J2EE server (forget which version) so you are
good to go even if you are not using Java 5.
o If you need to manage a Java desktop application that is running on
< Java 5, MX4J is what you need
o MX4J provides a nice XML feed which is ideal if you have management
scripts
o Avoid the reference implementation - it is only ok for read-only
MBeans - the HtmlAdaptor that comes with provides no authentication
hooks.
The process is pretty straightforward:
1. Write a Java interface -> must end in MBean with getters and
optionally setters if you want to expose a way tweak stuff from a
management interface. Stick to basic/built-in types
2. Write a Java implementation of your interface
3. Get a handle of your MBeanServer
4. Instantiate and register your MBean with the MBeanServer
.. and that is pretty much it.
Jason
On Oct 25, 2005, at 11:02 AM, Barry Hawkins wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all! I have a need to build out some application management
> functionality in my current project, so I am searching out good
> resources for the topic of JMX. Does anyone endorse a particular book
> or tutorial? By endorse I mean "this is what I used" or "my team uses
> this and I don't think they're on crack", not "I, too, Googled and
> found
> the following results". Thanks!
>
> Regards,
> - --
> Barry Hawkins
> site: www.bytemason.org
> weblog: www.yepthatsme.com
>
> Registered Linux User #368650
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFDXkaJHuKcDICy0QoRAruxAJ4z2CqvaQgfXgl/EF6H6gE6aZ1U1gCeLJEH
> DsPjW64G3XdTuwCwmUHwiuU=
> =6Y+r
> -----END PGP SIGNATURE-----
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members
>
More information about the ajug-members
mailing list