Feeds

Java's 'Steve Jobs' moment in 2012?

OpenJDK: Right ideas, wrong timing

Choosing a cloud hosting partner with confidence

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.

Business security measures using SSL

Next page: Java media star?

More from The Register

next story
'Windows 9' LEAK: Microsoft's playing catchup with Linux
Multiple desktops and live tiles in restored Start button star in new vids
Not appy with your Chromebook? Well now it can run Android apps
Google offers beta of tricky OS-inside-OS tech
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
Greater dev access to iOS 8 will put us AT RISK from HACKERS
Knocking holes in Apple's walled garden could backfire, says securo-chap
NHS grows a NoSQL backbone and rips out its Oracle Spine
Open source? In the government? Ha ha! What, wait ...?
Google extends app refund window to two hours
You now have 120 minutes to finish that game instead of 15
Intel: Hey, enterprises, drop everything and DO HADOOP
Big Data analytics projected to run on more servers than any other app
iOS 8 release: WebGL now runs everywhere. Hurrah for 3D graphics!
HTML 5's pretty neat ... when your browser supports it
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Security and trust: The backbone of doing business over the internet
Explores the current state of website security and the contributions Symantec is making to help organizations protect critical data and build trust with customers.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.