9

It was supposed to be released with Java 7, but the status is Dormant. On the other hand, the same page says

Use generics in the JMX API, for example have MBeanServer.queryNames return Set<ObjectName> rather than just Set.

and this did happen in Java 6. So, did some of the changes get in? Are there significant differences between Java 6 and Java 7 JMX implementations? Looking at Javadocs, I didn't notice any, but this only covers the API.

Alexey Romanov
  • 167,066
  • 35
  • 309
  • 487

2 Answers2

13

I asked this question also to the current product manager for JMX at Oracle, Tuva Palm some times ago (September 2011), and she promised me, that JMX 2.0 is not dead and there will be a technical roadmap in Q1/2012.

However, nothing have happened until now and even worse, JSR-255, the JMX 2.0 spec (but also JSR-262, ther WebService connector stuff) has been marked as withdrawn since 2016 with the following 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.

So JMX 2.0 in its original form is factually dead.

Roland Huß
  • 2,507
  • 15
  • 30
  • 2
    Staffan Larsen wrote me, that JMX 2.0 won't be in Java 8 either ;-(. Next chance: Java 9 (late 2015). – Roland Huß Dec 04 '12 at 10:14
  • 3
    BTW, Jaroslav Bachorík will be leading the Effort for reviving JMX 2.0 , according to Staffan Larsen. – Roland Huß Dec 04 '12 at 10:24
  • We can ask if JMX 2.0 is dead, but even if it's not "dead", we can ask if anyone will use it. e.g. [JSR 373: JavaTM EE Management API 2.0](https://www.jcp.org/en/jsr/detail?id=373) is considering making JMX _server management_ "Proposed Optional" on Java EE servers vs. a REST management API (JMX would still be available, just not used to manage the server). – DavidS Mar 11 '16 at 22:41
  • 2
    JSR-373 is dead as well as it will be removed from the Java EE 8 spec as announced at JavaOne 2016. – Roland Huß Oct 09 '16 at 17:06
3

Apparently, it was postponed to JDK 8, and all already made changes reverted, so JDK 7 final implementation should be the same as JDK 6.

Alexey Romanov
  • 167,066
  • 35
  • 309
  • 487