• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMX Real life application  RSS feed

 
Sam VVS
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • 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
  • 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?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • 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.
 
Henry Wong
author
Sheriff
Posts: 23291
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • 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
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cruise Control also uses JMX for remote administration.
 
Sam VVS
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thanks Paul for the link
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!