Originally posted by vinayaga moorthi: hello friends,
i am using JMX concept for monitoring the local and remote service. but i am new to this concept. can any one help me to write code for the starting and stoping the remote and local service.
There is no standard interface to start/stop a particular service. That is the domain of the mbean that you are using. You will have to examine the API of the mbeans that you have access to see what you have available.
For example, JBoss have a general start() and stop() method to most of the mbeans. And even then, I have never used it. Why would I want to start a Servlet or EJB using JMX? The official way works better. However, I will use a JMX mbean to monitor a servlet or EJB.
Henry [ February 04, 2006: Message edited by: Henry Wong ]