Sun Microsystems recently unveiled the first public beta of its JavaFX framework for RIAs (rich Internet applications). There's a lot to like about the new SDK. It's rich in capabilities, and its Java-like syntax makes it a good springboard to RIAs for Java developers. But even in Java shops, Sun and JavaFX are behind not just one eight ball but two. Heavyweight competitors Adobe and Microsoft, with Flex/AIR and Silverlight, respectively, offer RIA toolsets that are not only far more mature but also include tools that bridge the all-important gap between designers and coders.
The freely downloadable JavaFX Preview SDK bundles the JavaFX compiler and runtime, the NetBeans IDE, and a NetBeans plug-in for coding and debugging in the new JavaFX Script language. Sun has also thoughtfully included a good number of coding samples and templates.
The grammar and semantics of the new JavaFX Script, which is something of a Java/JavaScript hybrid, are not difficult to grasp, despite some minor quirks and gaps, such as the absence of Java interface support. JavaFX wowed me with great data-binding capabilities, a nice palletized library of widgets, and good features for programmatically directing 2-D keyframe animations. It also includes key support for vector-based objects and transparency, but a 3-D library and actual path-based animations are not yet in tow.
Java developers will no doubt find the declarative syntax to make for speedier UI development and, ultimately, more appealing interfaces than flat Swing calls. Interestingly, Sun has eschewed the XML-based abstraction favored by, well, every other major RIA vendor. Although I prefer XML for its clean interface declaration, there is something to be said for the less-verbose, code-centric approach taken in JavaFX.
To help sync design and development, Sun provides an Adobe Illustrator plug-in to export JavaFX assets, and one for Photoshop is on the way. But designers need to look to third-party upstart efforts, such as ReportMill's JFXBuilder, for even rudimentary visual layout tools. Adobe and Microsoft have gone further.
Compared to Adobe Flex and Microsoft Silverlight, JavaFX is also relatively inefficient. In my testing, a lot of code went into building even a simple app, and launching an application was slow going, requiring runtime and library downloads. JavaFX also burned though processor cycles; running even simplistic animations pushed my 3GHz Intel Core 2 Duo to 32 percent utilization.
There are other disappointments. JavaFX apps cannot be directly embedded into HTML but must be launched as applets or from the desktop via Java Web Start. The Preview SDK lacks streaming video codecs, though On2 Technologies has been tapped to fill that gap for the final release. Unlike Adobe AIR, JavaFX provides no access to the host file system. And finally, Windows and Mac OS X are the only platforms supported today.
But the JavaFX SDK is only a preview edition -- and a good one, at that. With Version 1 not set to launch until the fall, Sun still has some time to shine up this project. Easy integration with existing Java apps should make JavaFX an immediately attractive option for creating enterprise dashboards or bringing a modern look to Java relics. How far Sun's mature technology stack and the long reach of Java can take JavaFX against Adobe and Microsoft remains to be seen, but the Java camp finally has a heavyweight in the RIA game. It's long overdue.
Read up on the latest ideas and technologies from companies that sell hardware, software and services. The state of Middleware
IT Service Management Needs and Adoption Trends: An Analysis of a Global Survey of IT Executives
The Case for an Untethered Enterprise
How to improve employee productivity in small and medium businesses
Controlling storage costs with Oracle database 11g
Making the Business Case for IT Consolidation
Look before you leap | Key considerations for moving to 802.11n
Zones provide focussed content from Computerworld and leading technology partners.Discover how SOA can create smarter outcomes for your business.
Attend and learn:
- How SOA is helping leading companies to become more agile
- Where you should be applying SOA processes in your company
- The top SOA implementation mistakes to avoid
Click here for more information.
- +
Computerworld Live Podcast #97: The Future of Enterprise Networking 25/07/2008 09:45:36
This week CW Live chats with Mark Thompson, global sales and marketing manager for HP ProCurve, on the future of the enterprise networking. Mark discusses the trends we can expect to see in the near future and how the right infrastructure can ensure your enterprise network is secure. - +
Computerworld Live Podcast #96: Security at the Edge 11/06/2008 09:22:22
CW Live speaks with Amol Mitra, HP ProCurve Director of Marketing for Asia Pacific and Japan. Today's topic: how enterprises are starting to shift away from simply controlling security via server logins, firewalls and moving to more adaptive security frameworks. - +
Data Management Edition #10: Multi-Petascale Systems 02/05/2008 09:12:33
This week we look at sustainability and the development of multicore technologies to build multi-petascale systems. - +
IT Security Edition #11: How to poison the Storm botnet 01/05/2008 08:51:55
This week CW Live presents a case study on how to poison the notorious Storm botnet . Plus we take a look at Cisco's plans for Ironport. - +
IT Security Edition #10: Cyber-battles fought and won 24/04/2008 11:09:47
Vendors bow to end user pressure to improve product security, and we take a look at the latest concepts shaping the cyber-battlefield of the future.
MySpot SOS "Panic Button" Smartphone Application could save lone worker lives 2008-12-04 13:34:00+11
Charles Sturt University Commences Unified Communications Deployment With Interactive Intelligence 2008-12-04 08:30:00+11
AOC Launches 18.5” Widescreen Green 16:9 LCD Monitor in Australia and New Zealand 2008-12-03 15:30:00+11
FrontRange Solutions eases software license management with new License Manager 3.0 2008-12-03 14:56:00+11
Progress Software's Cure for Managing Services-based Applications 2008-12-03 14:42:00+11
Still Sneaking In: The Threats Your Security Tools Aren't Telling You About
Web 2.0 applications are all the rage, offering us tremendous value when it comes to collaboration and communication. They also open us up to new kinds of attacks however, and can cause problems in keeping systems and data secure. Read on to learn about the new attack methods and how you can defend yourself and your business.













Comments
Newer
Newer Strategy!
------------------------
sea plants...sea grapes...plant roots...phytoplanktons...sea plant pictures...seagrass...seaweed...easy aquarium plants...deep sea plants...Limu Moui...Landscaping...End of sea plants...underwater plants...Sea coral...Sea crabs