Skip navigation.

Developing Manageable Applications with JMX

   Previous Next vertical dots separating previous/next from contents/index/pdf Contents Index View as PDF   Get Adobe Reader

Introduction and Roadmap

Document Scope and Audience

Guide to this Document

Related Documentation

Samples for the JMX Developer

Avitek Medical Records Application (MedRec) and Tutorials

New and Changed JMX Features in This Release

JMX 1.2 and JMX Remote API 1.0 (JSR-160)

Deprecated MBeanHome and Type-Safe Interfaces

Changes to the Model for Distributing Configuration Data in a Domain

Changes to the MBean Data Model

New Functionally Aligned MBean Servers

Facilities for Registering Custom MBeans

New Reference Document for WebLogic Server MBeans

Understanding JMX

What Management Services Can I Develop with JMX?

Advanced JMX-Programming: Creating Management-Aware Applications

When Is It Appropriate to Use JMX?

What Management Services Have BEA Partners Developed?

Anatomy of JMX

JMX Layers

Indirection and Introspection

Notifications and Monitor MBeans

How JMX Notifications are Broadcast and Received

Active Polling with Monitor MBeans

Designing Manageable Applications

Best Practices

Use Standard MBeans

Use the Runtime MBean Server

Using the JVM Platform MBean Server

Use ApplicationLifecycleListener to Register Application MBeans

Alternatives That Use Only JDK Classes

Unregister Application MBeans When Applications Are Undeployed

For EJBs and Servlets Place Management Logic in a Delegate Class

Use Open MBean Data Types

Emit Notifications Only When Necessary

Additional Design Considerations

Instrumenting and Registering Custom MBeans

Create and Implement a Management Interface

Modify Business Methods to Push Data

Register the MBean

Package Application and MBean Classes

Using the WebLogic Server JMX Timer Service

Using the WebLogic Timer Service: Main Steps

Configuring a Timer MBean to Emit Notifications

Creating Date Objects

Example: Generating a Notification Every Five Minutes After 9 AM

Removing Notifications

Accessing Custom MBeans

Accessing Custom MBeans from JConsole

Accessing Custom MBeans from WebLogic Scripting Tool

Accessing Custom MBeans from an Administration Console Extension


Skip footer navigation  Back to Top Previous Next