Java Reference
In-Depth Information
Part 2
Instrumenting
manageable resources
In part 1, you learned about the
JMX
architecture and how it provides a
simple, scalable management solution. Chapter 1 introduced you to the
power and benefits of
JMX
, and also described how
JMX
components work
together. You learned that
JMX
consists of three component layers: instru-
mentation, agent, and distributed. In chapter 2, you began using
JMX
for the
first time by constructing a working example using an MBean, a simple
JMX
agent, and a simple notification. Now you are ready to begin dealing with each
component layer in more detail and depth.
Part 2 of this topic explores the instrumentation layer. The four chapters in this
part of the topic discuss different types of MBeans, as well as using notifications.
Chapter 4, “MBeans for Stable Resources,” covers the Standard MBean. In
this chapter, you will learn how to create and use Standard MBeans. Chapter 4
uses Standard MBeans to demonstrate how you can use MBeans to make your
applications more componentized and configurable.
Chapter 5, “MBeans for Changing Resources,” discusses the Dynamic
MBean. In this chapter you will learn the differences between Dynamic and
Standard MBeans, and how to create your own Dynamic MBeans. The exam-
ples in this chapter are centered around other Java technologies such as
Enterprise JavaBeans and the Jini network technology.
Chapter 6, “Communication with MBeans Using Notifications,” interrupts
the coverage of MBeans to discuss using
JMX
notifications. In chapter 6, you