Originally posted by vinayaga moorthi:
hello friends,
i need the details of "how to run the JMX program" and what are the rewuirements for running the JMX programs. help me. i am doing project on this concept.
advance thanks
To run a "JMX program", you need a JMX container. Java 5 has one built into the JVM.
Tomcat, Weblogic, Websphere, etc. all have JMX containers built in. These containers have programs (known as mbeans) which report the status of the application that it is monitoring.
For example, in the Weblogic JMX container, there is an mbean for each
servlet,
EJB, user connection, etc., in the system. You can connect to the JMX container, either through JNDI, or via a connector, find the mbean you want, and monitor or control the item that the mbean is managing.
Another example, if you have an EJB with special management needs that you want to expose. You can write an mbean, which can be loaded into the JMX container. This mbean will take management requests from clients -- and internally, will make a JNDI connection to your EJB, working through a private (not documented) interface.
Henry