You are previewing Spring in Action, Third Edition.

Spring in Action, Third Edition

Cover of Spring in Action, Third Edition by Craig Walls Published by Manning Publications
O'Reilly logo

Chapter 13. Managing Spring beans with JMX


This chapter covers
  • Exposing Spring beans as managed beans
  • Remotely managing Spring beans
  • Handling JMX notifications


Spring’s support for DI is a great way to configure bean properties in an application. But once the application has been deployed and is running, DI alone can’t do much to help you change that configuration. Suppose that you want to dig into a running application and change its configuration on the fly. That’s where Java Management Extensions (JMX) comes in.

JMX is a technology that enables you to instrument applications for management, monitoring, and configuration. Originally available as a separate extension to Java, JMX is now a standard part of the Java 5 distribution.

The best content for your career. Discover unlimited learning on demand for around $1/day.