Feeds

Coming soon: Open source JavaFX for iOS, Android

Will enable cross-platform Java-based UIs – but why?

Internet Security Threat Report 2014

Oracle says it plans to open source the Android and iOS implementations of its JavaFX UI platform "over the next couple months," which it says will allow Java developers to use the technology to write cross-platform smartphone apps for the first time.

"A majority of you said you'd contribute to an iOS / Android port (either via bug reports or direct code contributions) and we're working hard to be setup so that when the code is opened you'll be able to start in on it," Richard Bair, chief architect of the Client Java Platform at Oracle, wrote in a blog post at FX Experience.

Before that can happen, though, there's still work left to do to open source the core JavaFX platform. Bair says Oracle has made good progress on that effort, but there remain important milestones to complete.

Specifically, Bair says the team plans to release the remaining code for Glass (the JavaFX windowing toolkit), Prism (the scene rasterizer and renderer), the web rendering component, and a few other APIs over the next one to two months.

That leaves the JavaFX font renderer as the last sticking point. Currently, javafx-font relies on proprietary technology licensed from Bitstream, but Bair says the OpenJFX team is working on developing a replacement that will achieve the same results using native OS system calls.

If all goes according to plan, a fully open source version of JavaFX should arrive in the first quarter of 2013, just missing the late-2012 deadline that was announced at last year's JavaOne conference.

What remains to be seen, however, is whether an open source JavaFX will really do much to spur interest in the platform – something that Oracle, like Sun before it, has struggled to achieve.

JavaFX was originally pitched as a framework for writing so-called rich internet applications (RIAs). We don't hear much about those anymore, given the rise of HTML5, and even at its launch JavaFX met with a mixed reception.

But the technology has undergone multiple substantial rewrites since then, and these days Oracle is positioning it as the default UI layer for all of Java SE, which includes Java Embedded. JavaFX has come bundled with the Java Development Kit (JDK) since Java 7 Update 6 in August 2012.

While that's all well and good, interest in Java desktop applications remains low. Mobile platforms are the new hotness, but getting mobile app developers interested in JavaFX could be even more challenging than enticing desktop coders.

Oracle demoed a JavaFX game running on iOS at JavaOne 2012, but it made it clear that the app was just a proof of concept and that there were no immediate plans to ship an official version of JavaFX for either iOS or Android. According to Bair's comments on Monday, that hasn't changed.

Still, Bair says the open source release of JavaFX will give mobile developers access to the technology, even if it isn't formally supported by Oracle.

"This is also why we've been prioritizing open source so highly for the last little while, when OpenJFX can be built without any binary stubs, then there is nothing stopping you from taking OpenJFX with iOS port + OpenJDK and creating commercial applications that can be sold in the iOS app store," Bair wrote.

Nothing? Well, not quite. There are still a few roadblocks to widespread adoption of JavaFX among iOS developers, both technical and logistical.

Choosing a cloud hosting partner with confidence

More from The Register

next story
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
Sway: Microsoft's new Office app doesn't have an Undo function
Content aggregation, meet the workplace ... oh
Sign off my IT project or I’ll PHONE your MUM
Honestly, it’s a piece of piss
Return of the Jedi – Apache reclaims web server crown
.london, .hamburg and .公司 - that's .com in Chinese - storm the web server charts
NetWare sales revive in China thanks to that man Snowden
If it ain't Microsoft, it's in fashion behind the Great Firewall
Chrome 38's new HTML tag support makes fatties FIT and SKINNIER
First browser to protect networks' bandwith using official spec
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Win a year’s supply of chocolate
There is no techie angle to this competition so we're not going to pretend there is, but everyone loves chocolate so who cares.
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?
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.