June 08, 2009

JavaFX squares off against AJAX

Prominent AJAX developers Ben Galbraith and Dion Almaer each take a side in a mock debate over the merits of the two technologies at the JavaOne conference

In a mock debate focused on the rich Internet application development realm, AJAX was pitted against Sun Microsystems' JavaFX Friday, with proponents for both technologies pointing up their entrant's high points and the low points of their rival.

A session at the JavaOne conference in San Francisco had the co-founders of the Ajaxian Web site for AJAX technologies squaring off, with Ben Galbraith playing the part of the JavaFX advocate and Dion Almaer serving as AJAX's proponent. Both serve as co-directors of developer tools at Mozilla. While Galbraith and Almaer are obviously geared toward AJAX, Galbraith said he also has experience consulting on Java.

"JavaFX is built on top of an incredibly mature runtime that gives you amazing performance," as well great features, and [Oracle CEO] Larry Ellison, Galbraith said, giving a humorous nod to Oracle's plans to buy Java founder Sun Microsystems.

[ For more info on rich Internet application platforms, check out "Not your father's Web: The year in RIAs" | Also check out other news from JavaOne. ]

Almaer focused on AJAX being synonymous with the Web. "It's all Web stuff that's going on," he said.

The two went back and forth, measuring factors such as graphics performance, language capabilities, and tools.

"Today's JavaScript runtimes are just pitiful," Galbraith said, and the Web is slow, he added. Java also has a more sophisticated API, he argued. But Almaer countered, "We have a very simple API. I consider that a feature."

Almaer also advocated the performance of the Google Chrome browser, prompting Galbraith to ask how many people actually use Chrome.

In the graphics space, JavaFX and Java outpace AJAX "by a huge margin," Galibraith said. Almaer promoted the Canvas graphical technology for browsers. Google's new O3D technology also boosts 3D rendering on browsers, said Almaer.

Video, Galbraith said, is "an area [where] I'm pleased to say JavaFX is also leading the way."  But citing YouTube as a successful Web video venture, Almaer said rich video already is possible now on the Web through mediums such as Flash. In addition, HTML 5 also supports video and is backed by Mozilla, he said.

Almaer asked why JavaFX needed its own language, (JavaFX Script), rather than using something already available, such as Groovy. "You have to invent yet another language," Almaer said.

JavaScript far outpaces JavaFX when it comes to available components, he said. "In our world of JavaScript, you've of course got millions of components," said Almaer.

Galbraith pointed out there have been issues with CSS, which is used with JavaScript. He did this by showing a coffee cup, with a box showing the words "CSS is awesome," with the word, awesome, over-running the lines of the box.

Read more about developer world in InfoWorld's Developer World Channel.

Close

On Twitter now

Application development

Powered by Twitter
additional resources
White Paper - How to Improve Delivery of Advanced Web Applications

White Paper

Virtual Workforce: The Key to Expanding The Business While Cutting Costs

Get the independent advice and expertise you need to support a virtual workforce.

Go inside:
The three-step approach to making a virtual workforce a reality.
The four flavors of client virtualization technologies.
The three key initiatives that solve IT challenges.
Download now »
White Paper: Successfully Secure Your Wireless LAN With Wi-Fi firewalls.

White Paper

Addressing Linux Threats Leveraging Fewer Resources

The increase in Linux popularity has increased the frequency and sophistication of malware attacks. Read this 2 page white paper now to learn how you can protect your Linux environment with real-time protection that is certified by all major Linux vendors.

Download now »
White Paper - The 2009 Handbook of Application Delivery

White Paper

The 2009 Handbook of Application Delivery

Ensuring acceptable application delivery will become even more difficult over the next few years. As a result, IT organizations need to ensure that the approach that they take to resolving the current application delivery challenges can scale to support the emerging challenges. This handbook elaborates on the key tasks associated with planning, optimization, management and control and provides decision criteria to help IT organizations choose appropriate solutions.

Download now »
White Paper - Is Your Backup System Outdated?

White Paper

Mid-range Storage Considerations

A common misconception is that mid-range storage requirements are dramatically different than that of a larger enterprise. Mid-range storage users may require less capacity, but they have similar functionality and management requirements. This ESG paper examines mid-range storage needs and reviews a new solution that adjusts size while retaining value, performance and functionality.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2010 Infoworld, Inc.