A managed bean (MBean) is a Java object that represents a JMX manageable resource in a distributed environment, such as:
An MBean is a named managed object representing a resource.
Developers of applications and devices are free to choose the granularity of objects that are instrumented as MBeans. An MBean might represent:
Application components designed with their management interface in mind can typically be written as MBeans. MBeans can also be used as wrappers for legacy code without a management interface or as proxies for code with a legacy management interface.
The JMX specification defines five types of MBean:
The simplest types of MBean are standard MBeans and MXBeans.
A management application uses the object name to identify the object on which it is to perform a management operation.
The management interface of an MBean consists of:
The Java class of a standard MBean exposes the resource to be managed directly through: