protocol7 home

Sun JDK to be OSGi modularized

After a series of post, Mark Reinhold today announced that not only is Sun halting the failed JSR-277, but also that it will work on modularizing the Sun JDK based on OSGi. This, from my point of view, might be one of the biggest and best improvements to the JDK in a long time. Granted it’s only the Sun JDK, I don’t think any of the other JDK vendors will object. But, having one, and only one, module system for Java, and one that is stable and battle proven, will greatly improve the Java deployment story. Finally.

Tags: , , . 2 Comments »

2 Responses

  1. Neil Bartlett Says:
    It’s NOT based on OSGi. You have to read what Reinhold says carefully… they will actually build their own “simple, low-level” module system that will “interoperate” with OSGi.

    They will also make this module system available for developers to use in their own code, but they will not standardise it through the JCP, so if you do use it you will be tied to one Java implementation.

  2. Niklas Says:
    Yeah, I should have myself a bit more clear in the post. I\’m aware of the plan to build their own module system, and I don\’t find that odd. The important thing is that for developers, this interoperates fully with OSGi and that we don\’t get two developer-level module system. Now, the following statements in Reinholds post does worry me: \”This module system will be available for developers to use in their own code, and will be fully supported by Sun\”. This might be interpreted as Sun will provide another module system for developers, but at least it will not have the JCP blessing (whatever that is worth these days).

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Creative Commons Attribution 3.0 licensed unless otherwise specified.