This section explores how to use JMX with Spring Framework, and will show how managed beans (MBeans) can be easily resgistered with the JMX Agent using the annotations provided by the Spring Framework.
The Java Management eXtension (JMX) is a technology to manage and monitor Java applications remotely.
In a nutshell, these are the main participants in a JMX architecture:
- Managed Beans (MBeans). Can be managed and monitored remotely via JMX.
- JMX Agent. Manages MBeans and provides an interface so that they can be accessed remotely
- Remote Management Application. Monitors and interacts with the MBeans via the JMX Agent