I have a simple JMX client connecting to a remote server using Spring's JMX support. I would now like to extend this to support multiple remote JVM. Its not a clustered server application (although similar logic applies) just multiple JVM. My management console uses Proxies to interact with the remote MBeans.
When I create a proxy it requires a JSR 160 Connector. So, say I want to monitor some MBean, which is running on all 10 remote JVM, I will need 10 connectors and 10 instances of the proxy.
Other than explicitly instantiating every connector/proxy combination is there a better way? Maybe by declaring abstract connector and proxy then instantiating real instances programmatically?
I appreciate I could use something like Tangosol to get a clustered MBean, but thats not an option - for now.
Anyone ideas how this can be achieved