Hi Rickard

I delved a little bit in jBoss Server code and discovered that you use
java.lang.reflect.Proxy to create dynamic Proxy classes for a given
Interface.
Before this I always thought that it is impossible to create a Proxy class
on the JMX client side to deal with the remote MBeans without dealing
with JMX Connector etc.
But know the problem is that JMX does not send Interfaces to the client
but a JMX structure to reflect the MBeans on the server-side.

NOW my question is how to create an Interface on the client-side to
create from this Interface the Proxy class or is there a way to create a
proxy without an Interface?
The problem with JMX is that only standard MBeans have to implement
an Interface but for the other types there is no interface.

If this is doable I will change the JMX Connector on the client-side
therefore
that the client see the Proxy-Objects and deal with them instead of the
MBeanServer interface. What do you think?

Have fun - Mad Andy / Better Pizza

Senior Java Developer
eBuilt Inc. (www.ebuilt.com)

while( true ) { think(); write(); publish(); }


Reply via email to