0

I want to create an application with Java EE on a JONAS server for monitoring other applications and servers created with Java EE and C++.

So I'm looking for an API or something to help me.

Arjan Tijms
  • 37,782
  • 12
  • 108
  • 140
aminedev
  • 323
  • 3
  • 9
  • 22

1 Answers1

0

How about using Java Management Extensions (JMX)? See a brief description here.

BTW there are quite a lot of tools (e.g., JConsole by default in every JDK), are you sure you have to create a new monitor? I do not know your specific needs, but maybe you can use some existing tool for the job.

rlegendi
  • 10,466
  • 3
  • 38
  • 50
  • Hi thanls for the answer ,I cant use JConsole because i have to create a web application , for JMX is there any tutorial using a servlet or something ? – aminedev Mar 19 '12 at 10:06
  • Hi, see my first link, it has some starting points (`new JMXServiceURL(...)`, see section *Connecting to the JMX Agent Programmatically*). – rlegendi Mar 22 '12 at 12:57