Java Management Extensions

( 2 )

Overview

Steve Perry has spent his time "in the trenches". "I've been paged at 3:00 am to provide support because the system wasn't doing what it should and no one had a clue how to figure out why. I've scrolled through endless logfiles to decipher system problems, when a management solution could have presented an operator with a warning message hours earlier!" Wanting other developers to be able to learn from his experiences, Steve wrote Java Management Extensions.Java Management Extensions is a practical, hands-on ...

See more details below
Paperback (First Edition)
$27.38
BN.com price
(Save 21%)$34.95 List Price
Other sellers (Paperback)
  • All (32) from $1.99   
  • New (9) from $4.48   
  • Used (23) from $1.99   
Sending request ...

Overview

Steve Perry has spent his time "in the trenches". "I've been paged at 3:00 am to provide support because the system wasn't doing what it should and no one had a clue how to figure out why. I've scrolled through endless logfiles to decipher system problems, when a management solution could have presented an operator with a warning message hours earlier!" Wanting other developers to be able to learn from his experiences, Steve wrote Java Management Extensions.Java Management Extensions is a practical, hands-on guide to using the JMX APIs, Sun Microsystem's new Java-based tool for managing enterprise applications. This one-of-a kind book is a complete treatment of the JMX architecture (both the instrumentation level and the agent level), and it's loaded with real-world examples for implementing Management Extensions. It also contains useful information at the higher level about JMX (the "big picture") to help technical managers and architects who are evaluating various application management approaches and are considering JMX.The JMX technology is very new, and according to Steve, still has a few "potholes" in it. This book takes developers through it step by step, pointing out the "gotchas" before they have a chance to trip up smooth operation of the application. The author, a member of the expert group developing the JMX specification, points out that as J2EE becomes more widely adopted, the Java standard for management (JMX) becomes more and more crucial to avoid "splinter standards" where each vendor has their own distinct, arguably successful, way of doing things. "In my own company we have already identified and are tackling the problem of managing our Java applications. It's my belief that other companies will follow, as they come to realize the power that a standard manageability solution (ie, JMX) gives them."The book is divided into the following sections:

  • Part I:
  • Introduction and overview
  • Part II:
  • the JMX Instrumentation Level
  • Standard MBeans
  • Dynamic MBeans
  • Model Mbeans
  • Part III:
  • The JMX Agent Level
  • The Mbean Server
  • The JMX Notification Model
  • Dynamic Loading
  • Monitors
  • Timer Services
  • Relation Services
  • Appendix:
  • Related Technologies
  • Index

This practical hands-on guide to using the JMX APIs was written by a software developer for other developers as a complete treatment of the JMX architecture.

Read More Show Less

Product Details

  • ISBN-13: 9780596002459
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 6/28/2002
  • Edition description: First Edition
  • Edition number: 1
  • Pages: 312
  • Product dimensions: 7.02 (w) x 9.18 (h) x 0.77 (d)

Meet the Author

Perry has been a software developer for over 10 years. During that time, he's been a maintenance programmer and a systems analyst, and he is now an architect. He currently works in the Chief Technology Office at Alltel Information Services, in Little Rock, Arkansas.

Read More Show Less

Table of Contents

Preface;
Audience;
Organization;
Conventions Used in This Book;
Comments and Questions;
Source Code Availability;
Acknowledgments;
Chapter 1: Java Management Extensions Concepts;
1.1 Introducing JMX;
1.2 JMX Architecture;
1.3 The Sample Producer/Consumer Application;
Chapter 2: Standard MBeans;
2.1 What Is a Management Interface?;
2.2 How Do Standard MBeans Work?;
2.3 Downloading and Installing the JMX Reference Implementation;
Chapter 3: Dynamic MBeans;
3.1 Why Use Dynamic MBeans?;
3.2 How Do Dynamic MBeans Work?;
3.3 Dynamic MBean Inheritance Patterns;
Chapter 4: Model MBeans;
4.1 Why Use Model MBeans?;
4.2 How Do Model MBeans Work?;
4.3 Instrumenting Resources as Model MBeans;
Chapter 5: Open MBeans;
5.1 Open MBean Types;
5.2 Open MBean Metadata Classes;
Chapter 6: The MBean Server;
6.1 What Is the MBean Server?;
6.2 Obtaining a Reference to the MBean Server;
6.3 The MBeanServer Interface;
6.4 Controlling MBean Registration;
6.5 MBeanServerDelegate;
Chapter 7: JMX Notifications;
7.1 The JMX Notification Model;
7.2 JMX Notification Classes and Interfaces;
Chapter 8: Dynamic Loading;
8.1 Overview;
8.2 How Does Dynamic Loading Work?;
Chapter 9: The Monitoring Services;
9.1 The MonitorNotification Class;
9.2 Counter Monitors;
9.3 Gauge Monitors;
9.4 String Monitors;
9.5 Other Issues;
Chapter 10: The Timer Service;
10.1 The Timer Class;
10.2 Using the Timer Service;
Chapter 11: The Relation Service;
11.1 Introduction;
11.2 The Basic Relation Service Classes;
11.3 Using the Relation Service;
11.4 Using the Relation Service Support Classes;
11.5 Modifying a Role;
Colophon;

Read More Show Less

Customer Reviews

Average Rating 4.5
( 2 )
Rating Distribution

5 Star

(1)

4 Star

(1)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted April 2, 2004

    Java Management Extensions

    JMX is a Java framework for managing enterprise applications in a distributed environment. The book Java Management Extensions takes the reader from a high-level mountaintop description of what JMX is in the first chapter, aimed at architects and management, who might be investigating the new technology, to a trench-digging description of how to expose a class for management through instrumenting an MBean. <P> Perry¿s initial description of the JMX architecture in the first chapter does a good job describing the parts of the JMX and how they interoperate. It is a very high-level view of JMX and many abstract ideas are presented. On a personal level, my experience with the JBoss application server gave me a concrete example to refer to during this JMX introduction, which helped. Here, the reader is presented with many UML diagrams to illustrate the architecture. <P> The next four chapters cover the nuts and bolts of how to construct JMX services. To use the JMX framework, a developer must become familiar with an object called an MBean. In a nutshell, MBeans are Java classes that implement an MBean interface (A process known as instrumenting), allowing the MBeans to be loaded into an MBean server and managed. In these chapters, Perry talks about four types of Mbeans, Standard, Dynamic, Model, and Open MBeans. After introducing each type of MBean, Perry gives simple code examples of how to build each type of MBean. <P> Chapter 6 deals primarily with introducing the reader to the MBean server. Perry uses the reference implementation from Sun for the examples in his book. Real world MBean servers include names such as JBoss and WebLogic. The most exciting part of the book, I felt were chapters 7 and 9, where Perry talks about the JMX notification model and Monitoring classes. Firing events, filtering notifications, and creating monitors appear to be the real advantages to the JMX framework and are covered thoroughly in these chapters. <P> Perry¿s no-nonsense writing style provides a succinct description of the architecture. At 312 pages, the book is the thinnest technical book on my bookshelf, making the read easier to manage. <P> In summary, Java Management Extensions is a good book for developers who want to gain an understanding of what JMX is. Programmers new to JMX will probably find the first part of the book a good introduction to JMX and its architecture, while the last chapters focus more on how to put the framework to good use. Although Perry does not have a style of writing that entertained me, it was clear and to the point. He does cover his information thoroughly and appears to know the content well. JMX is a technology that I feel will be used heavily in the future, and for anyone who is intending to write a J2EE application that needs management or monitoring, JMX appears to be the answer.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted October 7, 2002

    Complete introduction and JMX reference

    Java Management Extensions (JMX) is a new framework added to the Java language that provides management solutions to new or existing applications. JMX allows you to encapsulate all your resources (hardware or software) with Java objects and expose them in a distributed environment, where the application resources to be managed can be any type, example: an applet, a standalone or distributed application, or hardware device such as a printer. So you build your management solution using a standard API in a componentized fashion, and can choose to expose entire devices or applications, or just a subset of their configurable features. JMX is a new technology, but is already being widely adopted as a means of configuring and instrumenting application servers and building management tools, e.g. JBoss, WebLogic and Blue Stone Application Servers, OpenView, Adventnet Manager and Tivoli JMX all use JMX technology. This is sound introductory book to the JMX API for both new and experienced Java programmers, while offering great insight through high-level details of JMX for Architects and Technical Managers evaluating this new technology. The Chapters are concise and well written. Once JMX concepts, api, building of sample applications and installing the JMX reference implementation are covered, we are introduced to an enterprise Producer/Consumer application and learn how to add rich Management features chapter by chapter through the initial 6 chapters of the book (some chapters can be skipped if you are looking for more complex management details covered in later chapters). By building on a single application example we are allowed to focus on the JMX specification and see how easy it is to add instrumentation to this new application. Note that JMX management features can also be added to existing applications, this is also covered in detail. There are complete chapters devoted to other JMX topics such as the MBean Server, JMX Notifications, dynamic loading with MLets and JMX Services such as the Timer, Relational and Monitoring Services. Chapters are concise taking readers step by step while introducing good programming conventions as they pertain to the JMX api, and also points out pitfalls to avoid while using JMX.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)