Feeds

Java's 'Steve Jobs' moment in 2012?

OpenJDK: Right ideas, wrong timing

The Power of One Brief: Top reasons to choose HP BladeSystem

Open-source Java: Part Two Five years after Sun Microsystems finally released Java under the GPL, Oracle has been pushing hard on the OpenJDK.

The OpenJDK project followed shortly after Sun’s open-sourcing of Java in November 2005; it’s both a free-and-open-source implementation of Java Standard Edition (Java SE).

The project has seen a fresh lease of life under Oracle, Sun's buyer, who has tempted IBM away from the Apache Software Foundation’s Harmony Java SE project and who also recruited Apple to OpenJDK. OpenJDK also has a new set of governance rules, albeit rules that hand Oracle and IBM a duopoly over ultimate control of the project and, therefore, the roadmap.

But five years after Sun let Java go, what’s the state of the platform and technology?

It was the OpenJDK that featured prominently at Oracle’s annual JavaOne developer rally in late summer. In many ways, the show’s keynotes made all the right noises: “We’re moving Java into the cloud”, “We’re hoping to put JavaFX onto iOS and Android” (ahem, unspecified Linux devices), “We’re open-sourcing JavaFX and will contribute it to OpenJDK ready for Java 8.”

These are all very cool, exciting developments, but notably, they all announce future releases. The actual developments that are ready now are less than inspiring given that the teams have had almost five years to work on them since Java 6’s release in December 2006.

During his conference keynote, Oracle’s Java chief architect Java Mark Reinhold – the individual leading the Java roadmap – talked about merging Java Mobile Edition (Java ME) and SE. But given that Android, which Oracle is fighting Google over in the courts, continues to rocket ahead, too little attention was paid to the mobile space.

As rallying keynotes go, Oracle didn’t exactly channel the ghost of Steve Jobs. Reinhold’s “one last thing” moment was to announce that Java 8, which will contain all the bits that we really want to see, has – alas – been postponed from late 2012 to summer 2013.

Among the “cool” developments noted were Project Coin (new language features), which could be called Project ShortChange. So, after five years in the workshop, we can now do this:

try { …

} catch (IOException | SQLException ex)

Another part of Coin, left-to-right “manually triggered” type inference, feels like a woefully underpowered afterthought, given that what we’d like is implicit type inference in all directions. They would have done better to wait for OpenJDK to pick up speed and implement this tricky feature properly, rather than add more kludge rules and “gotchas” into the ever-growing core language.

The roadmap for Java Enterprise Edition (Java EE) 7 for use in building platform-as-a-service (PaaS) is also underwhelming; that’s principally because the key component needed to make Java cloud-friendly and to simplify multi-core, multi-threaded development – namely Lambda functions – continues to be pushed back.

Lambda functions, we were told, will eventually grace JavaFX, Sun and now Oracle’s late entry into building rich media in the browser and on clients. But Lambda functions already there in JVM-based functional languages: take Clojure, where efforts such as Clarity are underway to provide a functional wrapper around Swing. And Scala, which has sublime Swing integration, and also thrives on closures as first-class citizens of the language:

contents += new Button { text = "Press Me!" reactions += { case ButtonClicked(_) => text = "Hello Scala"

} }

It is, of course, early days yet for the revitalised Java ecosystem with its new foundation in the form of OpenJDK. What we saw this summer was the low point in terms of actual delivery, with lots of hand-waving and pointing to what we can now expect as Java once again picks up speed.

Seven Steps to Software Security

Next page: Java media star?

More from The Register

next story
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

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.
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.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Securing Web Applications Made Simple and Scalable
Learn how automated security testing can provide a simple and scalable way to protect your web applications.