• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

jmx

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

thanks
 
author
Posts: 23923
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

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.

thanks



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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic