I have successfully realized to detect JBoss instances via the new remoting framework which is in 3.2. I aim at calling any jmx method on the detected server. I have tried to use org.jboss.remoting.Client.

Javadoc says: "Client is a convience method for invoking remote methods for a given subsystem".

Client client = new Client (myDetectedLocator, "jmx");
client.connect();

//invoke method
client.invoke(new NameBasedInvocation(.....

Can someone give me a hint what to code here? Is this the preferred way to realize that?

Thanks!

-marek



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to