Board logo

subject: JDK 7 upgrade to make Java more modular [print this page]


Java, the 14-year-old language and application platform founded by Sun Microsystems, is set to take on a more modular approach with the planned Java SE Development Kit 7 upgrade to the platform, Sun officials said Tuesday afternoon.

JDK 7 would enable developers to access capabilities planned for Java Standard Edition 7. During a presentation at the JavaOne conference in San Francisco, Sun officials talked up plans for the upcoming Java release. Modularity is part of a set of improvements planned for JDK7.

"We're working to define a modular form of the Java platform and its implementation; we're working to evolve the Java Virtual Machine into a true, multilingual universal runtime for high-level languages; and finally, we're doing things to make developers more productive," said Mark Reinhold, principal engineer for Java SE and OpenJDK.



Modularity is intended to address
a situation for which Java has gotten too big, Reinhold said. Sun is tackling modularity through Project Jigsaw and Java Specification Request 294. Jigsaw features a low-level module system for developers to use in their own code, according to Reinhold.

With a modular format, modules could be added to the base platform such as a sound module or one for Swing development. Also, modules would alleviate developers from needing to use a class path, said Reinhold. A class path is the path that the Java runtime environment uses to search for classes and other resource files.

"Class path is dead," Reinhold said.

"If we have a modular platform, then we instantly almost address the problems of download size and file system footprint," because all that needs to be downloaded is just what an application actually needs, said Reinhold.

Optimizations can be done at install time, he said.

Modularization of Java could lead toward a single Java implementation, said Robert Brewin, Sun application platform CTO. Currently, Java is offered in Enterprise, Standard, and Micro editions, with the Micro version geared to devices.

"The modularity aspect gives us a taste of how perhaps we're getting to a point where we can start to think about how we might end up with one Java," offering one consistent set of bits, Brewin said.

JDK 7 upgrade to make Java more modular

By: mann logona




welcome to loan (http://www.yloan.com/) Powered by Discuz! 5.5.0