Feeds

JavaFX preview highlights critical weaknesses

Potential riches uncertain

Combat fraud and increase customer satisfaction

Review Sun Microsystems recently released the JavaFX Preview SDK. I decided to revisit what is Sun's last, best hope to recapture both the desktop and the browser in the face of stiff competition.

The big question with Java FX is why anyone would want to adopt it when they've already got Adobe Systems' Flex and Microsoft's Silverlight, which is doing rather well in presenting the Beijing Olympics.

On paper, the most compelling feature could be the most difficult one for Sun to pull off: the ability to run the same JavaFX app unaltered on both Java Standard Edition (Java SE) and Java Micro Edition (Java ME) runtimes.

The Laszlo factor

To achieve this, Sun is taking a Laszlo-like approach - Laszlo allows the same program to run in the browser using a JavaScript base or a Flash base. The Java SE runtime renders using Swing components, for example. It would truly be a top achievement from Sun if the same JavaFX program could run unaltered on your mobile phone and desktop.

Whether this pseudo-multi-platform approach turns out to be practical in the long run is another matter. Any program of a significant size is bound to step outside the rosy JavaFX garden and make use of the "core" Swing and Java APIs, shackling it to your desktop. We won't find out to what extent Sun can achieve their lofty ambition until Java ME support appears, which at the last estimate is Spring 2009.

As far as this preview release goes, tools remain both JavaFX's strength and weakness. NetBeans 6.1 with its JavaFX plugin and Java 6 Update 10 (currently in beta) together offer a compelling development and deployment platform for rich client applications.

The NetBeans plugin has a nice live preview feature in which any change to the code causes a recompile and re-view of the applet. Nice to see, but I could imagine most developers switching this off soon after the initial "ooh aah" reaction - and after their code size goes beyond, say, 10 lines.

The lack of a GUI editor until at least Spring 2009 could well be the clincher for developers weighing up between Flex and JavaFX.

Sun claims to be working closely with third parties to provide rapid application development (RAD) tools in addition to the NetBeans visual editor and - apparently - we can also expect an Eclipse add-in, although I couldn't get a clear answer from Sun on a release date when I asked. Providing vague hints about the cloudy future is not a good way to win developers' hearts and minds.

JavaFX weather app

No match for Adobe: a JavaFX demo app

New in the preview release is a sample weather application: at last, JavaFX is starting to look the part. Unfortunately, "the part" in this case is some disappointingly jagged text and some animated clouds, which slow to a crawl if you leave the app running for more than a few minutes. The Today/Tomorrow switch is a little odd, too. Click on Today, and the display switches back to Tomorrow after less than a second - in time with the cloud animation, in fact.

Combat fraud and increase customer satisfaction

Next page: Relative assessment

More from The Register

next story
Ubuntu 14.04 LTS: Great changes, but sssh don't mention the...
Why HELLO Amazon! You weren't here last time
OpenBSD founder wants to bin buggy OpenSSL library, launches fork
One Heartbleed vuln was too many for Theo de Raadt
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Got Windows 8.1 Update yet? Get ready for YET ANOTHER ONE – rumor
Leaker claims big release due this fall as Microsoft herds us into the CLOUD
Next Windows obsolescence panic is 450 days from … NOW!
The clock is ticking louder for Windows Server 2003 R2 users
Patch iOS, OS X now: PDFs, JPEGs, URLs, web pages can pwn your kit
Plus: iThings and desktops at risk of NEW SSL attack flaw
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
Apple inaugurates free OS X beta program for world+dog
Prerelease software now open to anyone, not just developers – as long as you keep quiet
prev story

Whitepapers

Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.