Feeds

JavaFX preview highlights critical weaknesses

Potential riches uncertain

Choosing a cloud hosting partner with confidence

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.

Top 5 reasons to deploy VMware with Tegile

Next page: Relative assessment

More from The Register

next story
Be real, Apple: In-app goodie grab games AREN'T FREE – EU
Cupertino stands down after Euro legal threats
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Bada-Bing! Mozilla flips Firefox to YAHOO! for search
Microsoft system will be the default for browser in US until 2020
Facebook, working on Facebook at Work, works on Facebook. At Work
You don't want your cat or drunk pics at the office
Soz, web devs: Google snatches its Wallet off the table
Killing off web service in 3 months... but app-happy bonkers are fine
prev story

Whitepapers

Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
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.
How to determine if cloud backup is right for your servers
Two key factors, technical feasibility and TCO economics, that backup and IT operations managers should consider when assessing cloud backup.
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.
The hidden costs of self-signed SSL certificates
Exploring the true TCO for self-signed SSL certificates, including a side-by-side comparison of a self-signed architecture versus working with a third-party SSL vendor.