Feeds

Oracle should cannibalize JavaFX Frankenstein

Time to get Swinging

New hybrid storage solutions

Comment One of the survivors of Oracle's mammoth takeover of Sun Microsystems is JavaFX, the Flex wannabe and illegitimate son of Swing.

The biggest coup for JavaFX three years after its unveiling at JavaOne is its integration into Vancouver2010.com, in a spinning-wheel app that shows countries' medal counts dating back to 1924. It's a nice use of data visualisation, a cross between tag clouds and a time-traveling version of Risk. But oh my word, the jaggedness of the text. Don't these people know that Java can do antialiasing very nicely? Even the "Powered by JavaFX" logo has embarrassing color bleed.

The Winter Olympics app is a rare moment of fame for JavaFX, in an otherwise bleak and underperforming history. The brazenness of JavaFX.com suggests otherwise. It's all flashing lights and bold headlines, as if the marketing team are standing around Frankenstein's corpse sending shockwaves of electricity into it and insisting: "Look! Look! It lives! No, really, it does!"

JavaFX unfortunately failed because it was too little, too late. And yet Oracle has chosen to keep JavaFX going, in an attempt to invigorate its stillborn corpse. One wonders why.

Granted, there are things to like about JavaFX. The MediaBox component lets you very easily set up a streaming video in your web page. Just the following bit of code will do it:

var media = "http://sun.edgeboss.net/download/sun/media/1460825906/1460825906_11810873001_09c01923-00.flv";
var mediaBox = MediaBox {
    mediaSource: media
}

And then put it on your stage:

Stage {
    title: "MediaBox Player"
    scene: Scene {
        content: mediaBox
    }
}

This example, a live sample from their website, will play an excerpt from Big Buck Bunny - or any .flv file you happen to point it to, of course. The team has evidently taken on board the need for JavaFX to "just work", with a minimum of Daffy Duck-ing about. However, "just work" is exactly what this example didn't do in practice. With very little coaxing, the MediaPlayer locked-up with this impressive Windows Solitaire impression you see below.

My net connection was fine, but as soon as I scrolled the page a little bit, the picture went from Big Buck Bunny bouncing in the warm sunshine to an epic freeze, from which it never recovered. I'm not sure how exactly this will convince web designers to switch from the cosy safety-in-numbers (and stability) of their Flash players.

Security for virtualized datacentres

Next page: Missing mojo

More from The Register

next story
Not appy with your Chromebook? Well now it can run Android apps
Google offers beta of tricky OS-inside-OS tech
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
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
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.
Top 5 reasons to deploy VMware with Tegile
Data demand and the rise of virtualization is challenging IT teams to deliver storage performance, scalability and capacity that can keep up, while maximizing efficiency.
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.
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.