May 10, 2007

AJAX, JavaServer Faces ties to get stronger

Panelists tout technology combination

With AJAX (Asynchronous JavaScript and XML) and JSF (JavaServer Faces) component technology representing a one-two punch for Web development, plans are moving forward to strengthen support for AJAX in the JSF specification.

Panelists at the JavaOne conference in San Francisco on Thursday discussed the linkage between these two sets of technologies. AJAX and its attendant JavaScript code work on the client, and JSF resides on the server. Although developer issues remain, such as which AJAX framework to use in Web development, AJAX itself will be better accommodated in version 2.0 of JSF, due in 2008.

JSF 2.0 will feature a small JavaScript library. "It'll allow you, at the very least, from your JSF component or from any old piece of JavaScript in the page, to call back into the JSF lifecycle from JavaScript and have it all run and get back to you. It'll enable partial update of the page," said panelist Ed Burns, a senior staff engineer at Sun Microsystems and specification lead for JSF.

Also to be featured in JSF 2.0 is Comet, which offers a programming technique in which an open socket is leveraged to speed up browser requests to the server.

The current version 1.2 of JSF has a small degree of JSF support, with the ability to declare a separate lifecycle for handling AJAX requests, Burns said. Also, a component can be invoked to individually address a row while doing an AJAX transaction.

Sun previously has discussed JSF 2.0 as Project Dynamic Faces, noting it would bolster AJAX support.

Burns noted the difference between AJAX and Sun's newly announced JavaFX technology, which features a scripting language called JavaFX Script. JavaFX does not run inside a browser, he said. "It is a rich application that runs on its own," he said.

In addition, Sun has revealed an internal effort called Project Flair, which leverages a Web kernel and JavaScript and has been positioned as an alternative to AJAX programming.

One panelist, representing AJAX framework builder Backbase, urged that capabilities such as interoperability and push technology be bolstered in AJAX development products, given competition from new technologies such as Adobe Flex and Microsoft Silverlight.

"I think we have to get our act together to bring all this functionality that we discussed today," said Mark Scheifelbein, vice president at Backbase. "We have to get these into the solutions really quick."

Paul Krill is an editor at large at InfoWorld.
Close

On Twitter now

Application development

Powered by Twitter

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

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-2009 Infoworld, Inc.