Giacomo Pati wrote:

Yes. The implementaion I have now checks whether the Container (i.e. Servlet Engine) has launched a JMX-Agent (MBeanServer) to activate JMX support at all. So this is the dependency on the JMX interfaces which obviously will be needed at runtime as well (I probably don't know whethere this can be encapsulated into i.e. static helper classes to avoid needing the JMX interfaces at runtime at all). Anybody has knowledge whether this is doable without heavy introspection/reflection stuff to prevend needing the JMX interfaces at runtime?

Considering that the JMX interfaces are shipped with JDK 1.5, I don't consider as a problem to have the core depending on these classes. And jconsole is so nice :-)

Sylvain

--
Sylvain Wallez                        Anyware Technologies
http://bluxte.net                     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director