Chapter 12. Managing with JMX

 

This chapter covers
  • Using the Java Management Extension (JMX) API
  • Remotely connecting to JMX agents
  • Retrieving and changing the state of the OSGi framework while in production
  • Managing OSGi services

 

When you’re developing, you can manage the OSGi framework and its bundles and services by using the shell, as we’ve done in the previous chapters, or by installing custom management agent bundles. But this isn’t the case when you’re in production. In production, it’s unlikely that you or the IT person has direct access to the OSGi framework. For example, it would be improbable that you’d be able to log in or telnet into the machine that’s hosting the running OSGi framework instance. Among other reasons, this ...

Get OSGi in Depth now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.