Feeds

Oracle should cannibalize JavaFX Frankenstein

Time to get Swinging

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

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.

Securing Web Applications Made Simple and Scalable

Next page: Missing mojo

More from The Register

next story
Whoah! How many Google Play apps want to read your texts?
Google's app permissions far too lax – security firm survey
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Big Blue Apple: IBM to sell iPads, iPhones to enterprises
iOS/2 gear loaded with apps for big biz ... uh oh BlackBerry
OpenWRT gets native IPv6 slurping in major refresh
Also faster init and a new packages system
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Mobile application security vulnerability report
The alarming realities regarding the sheer number of applications vulnerable to attack, and the most common and easily addressable vulnerability errors.
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.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.