Feeds

No, modular Java isn't dead. It'll be in Java 9 – honest

Project Jigsaw, nixed from Java 8, is back and ready for Phase Two

Secure remote control for conventional and virtual desktops

Despite significant delays, Oracle is once again moving forward with Project Jigsaw, a major undertaking that aims to allow Java developers to break their programs down into independent, interoperable modules.

Jigsaw was first intended to be a major features of Java 8. By 2012 Big O decided that waiting for Jigsaw to be ready would delay the entire Java 8 release, so work on the module system was postponed until a later version.

Not much has been heard much about Jigsaw since. But in a blog post on Wednesday, Mark Reinhold, Oracle's chief Java architect, said the Java Community was ready to begin "Phase Two" of the Project Jigsaw effort.

"It's now time to switch gears and focus on creating a production-quality design and implementation suitable for JDK 9 and thence Java SE 9, as previously proposed," Reinhold wrote.

To that end, Reinhold has drafted a new document outlining the goals and requirements of Project Jigsaw. If the devs get it right, Reinhold figures Jigsaw will not only make it easier to scale the Java platform down to small devices, but it will also improve the security, performance, and maintainability of Java applications.

But it's not going to be easy. Back in 2011, when Jigsaw was still expected to be part of Java 8, Reinhold said it would be a "revolutionary" release, as compared to the more "evolutionary" Java 7.

In the end, the Java 8 we actually got was mostly evolutionary, too, with lambda expressions being the only truly significant new feature. And Java 8 arrived two years late, even after cutting loose the Project Jigsaw boat-anchor.

Now work is set to begin in earnest on making Jigsaw ready for inclusion in Java 9, and Reinhold is once again warning us of the difficult slog ahead. Still, he says it's important to press onward.

"Jigsaw as a whole will bring enormous changes to the JDK; it would be unwise to wait until it's completely finished before merging any of it," Reinhold wrote. "Our intent, therefore, is to proceed in large steps, each of which will have a corresponding JEP [JDK Enhancement Proposal]."

The first three steps will involve figuring out how to break the JDK down into modules, modularizing the source code, and then finally modularizing the binary images. The fourth and last step will be to introduce the module system itself, in the form that developers will use for other programs outside the JDK.

Just how long all of this will take, we dare not speculate. So far, Oracle is hoping for a 2016 release for Java 9, but given that there were three years between versions 7 and 8 (even after dropping Jigsaw), that may be a tall order. ®

The essential guide to IT transformation

More from The Register

next story
Microsoft boots 1,500 dodgy apps from the Windows Store
DEVELOPERS! DEVELOPERS! DEVELOPERS! Naughty, misleading developers!
'Stop dissing Google or quit': OK, I quit, says Code Club co-founder
And now a message from our sponsors: 'STFU or else'
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Uber, Lyft and cutting corners: The true face of the Sharing Economy
Casual labour and tired ideas = not really web-tastic
Mozilla's 'Tiles' ads debut in new Firefox nightlies
You can try turning them off and on again
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
prev story

Whitepapers

5 things you didn’t know about cloud backup
IT departments are embracing cloud backup, but there’s a lot you need to know before choosing a service provider. Learn all the critical things you need to know.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Backing up Big Data
Solving backup challenges and “protect everything from everywhere,” as we move into the era of big data management and the adoption of BYOD.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?