2.7 Summary
In the course of this tour we have illustrated the use of JMX in the context of a simple Java-based service. Although the service itself may be straightforward, the process we went through to make it manageable is a common approach and does work in practice. Working with a set of management requirements, we developed a set of resources that we must monitor and control to satisfy those requirements. We reflected the management interface for each of our managed resources in an appropriate MBean, and then brought instances of those MBeans together in an MBeanServer. Finally, we used JMX services like monitors and notification to implement the policy mechanism that enabled us to satisfy our management requirements.