Java SE: Project Jigsaw: Modularizing JDK 7

Filed under: java jdk7 on Wednesday Dec 03, 2008

You probably noticed over the last couple of weeks Mark Reinhold's series about modularization and the JDK.

While other technologies are trying to bulk up as fast as they can, the feature rich Java SE has been in search of ways for it to be more nimble, ever since the invention of the JAR format for packaging class files for applets. Java SE 6u10 took some big steps in that direction, speeding startup and making a 4.5mb (not 15mb) kernel download containing the basics. But Mark points to the next steps along the path: deeper changes to improve download and startup time more radically. A packaging mechanism with full dependency expressions than can easily be turned into a variety of native packaging formats. Java SE Profiles to organize different fit-for-purpose subsets of Java SE, whether it be a profile for rich client apps, or for headless apps. Or classes of applications that will become popular in the future.

Well, its coming: Project Jigsaw: The open source modularization of a more nimble, reusable JDK 7, an application and library packaging format, and a formal definition of subsets of the Java SE APIs.

People are already buzzing. Should make for another interesting talk next week at Devoxx. The Janitor will be tweeting from the back row.
Comments:

while this is not directly related I'd like to post the suggestion/comment I posted in http://blogs.sun.com/geertjan/entry/2009_the_year_of_documented about the Netbeans Platform

imo, this is great but for java-gurus but that's not what I wanna say. I believe that this should be the trend, platforms not frameworks. With a platform that is very atomic but powerful and rich, development is done in not time. What I mean with 'atomic' is that for example when I develop a simple JFrame Calculator, the profile(platform provided) I'll use would be "Generic JFrame based Application". This profile would have provided all the necessary code/functionalities like

frame.setLocationRelativeTo(null);
"Are you sure you want to exit?" dialog
GUI's state are persisted // may be another profile named "State-full Generic JFrame based Application"
ThreadWorker.invokeLater something2 that is recommended for swing apps :D

I wouldn't care if there are many profiles(bec. of the limitless variety of apps) but I'm sure popularity and Apache Software Foundation will have something like 'Apache Platform Profiles' or 'Apache Java Platform Profiles', or better a JSR. Proof of concept is already here(Netbeans Platform), a whole new programming method would emerge, faster then Agile, maybe call it 'Squall' or any cooler word haha! :) Thanks for reading my java-newb comment/suggestion!

Posted by crayon_shin-chan on August 01, 2009 at 10:34 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed