i wrote an simple dynamic MBean and a deployment-descriptor like xml file.
I packaged them into a 'SAR' file and deployed in the server.
It got sucessfully deployed and MC4J console can detectmy MBean.
How can i programmatcally access the MBean from another application(as MC4J do)?
can any body give me an example(s) to do that?
Work through this forum, there are
examples on using the RMIAdaptor.
There is also a JMX ant task.