Can anyone please clarify what the differences are between the two?
The Javadoc is really obscure for my proper understanding.
One thing I have noticed is if I use ManagementFactory.getPlatformMBeanServer()
to register my MBeans, I can view them in Jconsole. But, not so if I use MBeanServerFactory.createMBeanServer()
.
Why is that? Is that the only diffence?
Thanks.