This JSR has been Withdrawn
Reason: JSR 255 specified changes to javax.management.* which were subsequently abandoned due to lack of resources, and were not included in the Java SE 6 or 7 Platforms. (The changes were distinct from other changes to javax.management.* specified by JSRs 3, 160, and 336 for inclusion in the Java SE 6 and 7 Platforms.) It was determined in 2014 that future changes to JMX technology would be specified directly by the umbrella JSR for the Java SE Platform.
Updates to the Java Specification Request (JSR)
The following information has been updated from the original JSR:
2012年03月21日:
Staffan Larsen is the new Maintenance Lead.
Maintenance Lead: Staffan Larsen, Oracle America
E-mail: staffan.larsen
Telephone: +46 8 506 309 00
2006年01月20日: This JSR is now scheduled for Dolphin (Java SE 7) and not Mustang.
Original Java Specification Request (JSR)
Identification |
Request |
Contributions |
Additional Information
Section 1. Identification
Submitting Member: Sun Microsystems, Inc.
Name of Contact Person: Eamonn McManus
E-Mail Address: eamonn.mcmanus@sun.com
Telephone Number: +33 476 188 352
Fax Number: +33 476 188 282
Specification Lead: Eamonn McManus
E-Mail Address: eamonn.mcmanus@sun.com
Telephone Number: +33 476 188 352
Fax Number: +33 476 188 282
Initial Expert Group Membership:
Sun Microsystems
Hewlett-Packard
BEA Systems
Schmid Telecom AG
JBoss Inc
Oracle
Supporting this JSR:
Sun Microsystems
Hewlett-Packard
BEA Systems
Oracle
Section 2: Request
This specification will update the JMX and JMX Remote APIs to improve existing interfaces, notably with respect to ease-of-use, and to add new functionality whose usefulness has become clear since those APIs were completed. Some key changes that are proposed are:
* Use generics in the JMX API, for example have MBeanServer.queryNames return Set<ObjectName> rather than just Set.
* Use annotations to make writing MBeans easier.
* Make Open MBeans easier to use to address interoperability and versioning concerns.
* Generalize monitors so that they can monitor attributes that are not simple types, and so that their thresholding is customizable.
* Support cascaded (federated) MBean Servers.
It is a key goal of this JSR to be incorporated into version 6.0 of the J2SE platform (Mustang), and this might mean that some of these proposed changes end up being postponed to a later JSR.
J2SE.
The J2EE platform includes a specification (JSR 77) based on the JMX API, and most if not all implementations of this platform use the JMX API extensively. Changes to improve this API will therefore be useful on the J2EE platform in addition to the J2SE platform. Although some investigations have been done concerning the use of the JMX API on certain configurations of the J2ME platform, there are no current plans to standardize that.
No.
Improved functionality of the existing JMX APIs and better ease-of-use.
The version of the JMX API that was incorporated into Tiger was identical to the standalone version 1.2 produced by a Maintenance Review of JSR 3. One important aim of this JSR is to update the API so that it takes advantage of generics and annotations to provide a simpler programming model. Another aim is to incorporate changes and new features whose desirability has become clear since version 1.2 was completed in 2002.
JSR 3 (JMX API) defined a way to create named objects called MBeans (managed beans) or managed objects, and to store those objects in a repository called the MBean Server. Access to the objects is then exclusively through the MBean Server. MBeans have attributes (properties), operations (methods), and can emit notifications (events). The API provides services, which are themselves MBeans, that allow MBean attributes (properties) to be monitored periodically; notifications to be sent at a scheduled time or times; new MBeans to be created from dynamically loaded classes; and relations to be defined between MBeans. JSR 160 (JMX Remote API) defined a framework for remote access to an MBean Server, and standardized an access protocol based on RMI. These two JSRs are included in the J2SE platform. The Java Virtual Machine is instrumented using them, and they are also the default way for user applications to define their own instrumentation.
Existing classes in the javax.management.* namespace will be updated (including javax.management.remote.* but excluding javax.management.j2ee.*). New packages may be added under javax.management.
No.
No.
The JMX API includes the ability for MBeans (managed objects) to publish descriptions about themselves. One aim of this JSR is to make it possible for these descriptions to be localized based on the client locale.
This work will update JSRs 3 (JMX API) and 160 (JMX Remote API). It may allow (but not require) simplifications to later versions of JSRs 77 (J2EE(TM) Management) and 174 (Monitoring and Management Specification for the Java Virtual Machine).
A key aim of this JSR is to define the version of the JMX and JMX Remote APIs that are incorporated into version 6.0 of the J2SE platform. This implies a hard deadline for completion that is likely to be roughly September 2005. Meeting this deadline may imply omitting some planned parts of this JSR and postponing them until the next version of the J2SE platform.
The primary form of collaboration will be e-mail. Experience with the JSR 160 (JMX Remote API) Expert Group suggests that conference calls with roughly biweekly frequency will also be helpful.
Draft specifications will be uploaded to the community page for this JSR with at least monthly frequency. Open issues will be signalled on the observer alias for this JSR.
Bug 5072268 on bugs.sun.com is an umbrella entry that references individual entries for the various proposed changes. Status and ongoing evaluation of these changes will be monitorable through this public bug database.
The core components of the RI will be delivered as part of the Mustang (J2SE 6.0)Note that this information has been updated from the original JSR. RI. These RI components will not be delivered standalone. Optional components of the RI which are not included in Mustang will be delivered as separate JAR(s).
A standalone TCK will be made available for this JSR.
There will be a standalone TCK for this JSR.
ADVANCE NOTICE: It is anticipated that in the successor version of this JSR, the TCK will no longer be available standalone, but only as part of the J2SE Platform TCK.
The RI for this JSR will be made available in binary form at no charge. As noted in 2.16, it is anticipated that the core components of the RI will be delivered as part of the Mustang (J2SE 6.0)Note that this information has been updated from the original JSR. RI, while optional components may be delivered as separate JAR(s).
The TCK for this JSR will be made available at no charge to J2SE TCK licenses. In addition, qualified individuals and not for profit organizations will receive access to the TCK at no charge.
It will not be necessary to license the RI to license the TCK.
Section 3: Contributions
JSR 3: JMX Specification
JSR 160: JMX Remote API
JMX technology home page
Java Dynamic Management
Kit (Java DMK)
MX4J (open source
reimplementation of JSRs 3 and 160)
Many links to articles about and projects using the JMX APIs can be
found from the JMX
technology home page.
Java DMK includes a cascading service that could be a starting point for standardization.
MX4J includes some interesting ideas (AbstractDynamicMBean, XML Configuration Loader) that could be standardized.
Section 4: Additional Information (Optional)
The JMX Remote API (JSR 160) will be updated as part of this JSR. That API includes an optional part (packages javax.management.remote.X where X is generic, jmxmp, and message), which is not included in the J2SE platform but can be run on top of it. It is not planned for this JSR to make any changes to these packages, and it is not planned for this JSR to make any changes to the J2SE platform that would cause an existing implementation of the packages not to work on the updated platform.