• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMX  RSS feed

 
rakesh sugirtharaj
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to know what is jmx and more importantly why jmx?
 
Campbell Ritchie
Marshal
Posts: 56578
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google is your friend; it found this.
 
rakesh sugirtharaj
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ritchie,

Thanks for the link. But it seems too complicated. I just want to know where jmx comes into play? As a developer where would I use it?
 
Campbell Ritchie
Marshal
Posts: 56578
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know.

Anybody else?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're digging into a "not so common" subject, so it may be worth spending some time reading Campbell's link if you're so eager to know about JMX. It does not look that difficult after all. At least try the sample application. If you understand what it does, you'll understand when to use it.
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Officially, JMX is the API used to "monitor and manage" the system. What it is is a container used to run MBeans. These MBeans report information about the system (and have methods to manage some of it too).

Historically, all the application servers have a JMX interface. Tomcat, JBoss, WebSphere, WebLogic, all have a way to get to the JMX container, which contains hundreds of MBeans running in them. Beginning with Java 5, the JVM itself has a built in container which contains a handful of mbeans, which sun named mxbeans.


In terms of API, besides the mxbeans which now exist in all JVM, starting from Java 5, there isn't really a API standard. All the application servers have different mbeans, with different method calls, and doing things differently.

Henry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!