http frontend for JMX

Hi,I'd like to embed the JMX output in my admin web app. Is there an http formatter or something similar available for JMX in public domain?Thank you for your help,Mark
[197 byte] By [markcitizena] at [2007-10-3 3:17:08]
# 1

Hi Mark,

When you say 'http formater' - are you rather speaking of 'html/xml formater'?

Java DMK had an old 'HTML Adaptor' for JMX (which was quite ugly).

This adaptor had also been provided as a contribution on the JMX Home Page

- http://java.sun.com/products/JavaManagement/index.jsp -

in the days before JMX 1.2 and JSR 160. It's not something I'd recommend

using though.

If you're trying to display java objects in HTML code, you may be interested to

have a look at Velocity: http://jakarta.apache.org/velocity - and if you're

running JDK 6 there's even a JSR-223 ScriptEngine for velocity:

http://blogs.sun.com/sundararajan/entry/velocity_jsr_223_script_engine

At the last JavaOne, Jean-Francois Denise

- http://blogs.sun.com/jmxnetbeans -

demonstrated using AJAX to embed JMX MBeans exposed through an

early version of JSR 262 connector (WS connector for JMX)

- http://www.jcp.org/en/jsr/detail?id=262 -

in an HTML page.

However the JSR 262 is not yet final - and the architecture of the

connector is still under discussion within the expert group.

Hope this helps (and sorry for the late answer - the idea of using Velocity

was triggered by Sundar's blog on the subject)...

-- daniel

JMX, SNMP, Java, etc...

http://blogs.sun.com/jmxetc

dfuchsa at 2007-7-14 21:08:40 > top of Java-index,Core,Monitoring & Management...