The MBean server enables easy management of Java applications. For a Java application to be manageable, it only needs to be modified so that it:
Instantiates the MBean server and a connector.
Registers the objects that, in conjunction with their states, accurately represent the application.
The only restriction is that the registered objects have to be instances of an MBean. This is not a serious restriction, as it does not force the existing design to be changed, nor does it require a fixed class inheritance scheme. When you design an MBean, you do not need to explicitly take into account the interaction of the MBean with the MBean server or the adaptors. This is handled for you by the design patterns for MBeans. An application that includes the MBean server and a connector provides remote access for management operations without the need for any further development.