Feeds

Coming soon: Open source JavaFX for iOS, Android

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

Providing a secure and efficient Helpdesk

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.

Secure remote control for conventional and virtual desktops

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
prev story

Whitepapers

Secure remote control for conventional and virtual desktops
Balancing user privacy and privileged access, in accordance with compliance frameworks and legislation. Evaluating any potential remote control choice.
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.
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?
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
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.