• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMX Real life application

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ALL

I just want to find out what the real life application would be for JMX. I have thru couple of forums and see that JMX API can be used for instrumenting applications, Managing servers, etc.

I have gone thru the HelloWorldMBean examples but still I am confused where we can use it.

Can anyone pl let me know on this.

Thanks Everyone in advance.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are a large number of JMX applications out there. Probably the most common one people will come accross is JBoss. Each component in JBoss is provided as a MBean service, so its not really one big application but numerous applications integrated together via JMX. There is a very good overview of JMX in "JBoss Administration and Development" (which you should be able to find somewhere on JBoss's site) that discusses JMX in light of how it is implemented in JBoss.
 
Sam VVS
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Paul for a quick reply.

According to my understanding JMX API has a bunch of interfaces. Is there an implementation in versions below J2SE 1.5.

I did see in the downloads of SUN JNMX "JMX Reference Implementation" jars. Can these jars be used in real time applications or are they just a reference for those who are implementing the JMX containers?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The reference implementation can be used in conjunction with any application. Of course, unless the application implements some MBeans, there's not much to monitor.
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java 5 has a built in JMX container with about 5 or 6 mbeans that give general information about the JVM. Earlier J2SE platforms does not come with a built in JMX container.

As for J2EE...

Weblogic has a built in JMX container, with about 300+ mbeans on start, instrumented to monitor every aspect of the system. This number of mbeans will increase for every session, user, servlet, ejb, etc. that gets added.

JBoss is about the same -- in numbers but different from Weblogic. In fact, JBoss is one big JMX container. The Servlet container, EJB container, etc., are just mbeans running in the JMX container.

Tomcat has about 30 or so mbeans on bootup -- most of them are of a "generic" nature. Not really explaining this one well, except when I was working with it, there wasn't much interesting.

I have Websphere on my work list. And one of these days, I will get a customer that needs it, and I can bump up the priority on working with this one...

Henry
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cruise Control also uses JMX for remote administration.
 
Sam VVS
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does IBMs Websphere support JMX implmentation.
If so where can I get the documentation

Thanks
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes. The WebSphere documentation covers it.
[ March 06, 2006: Message edited by: Paul Sturrock ]
 
Sam VVS
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Paul for the link
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic