September 28, 2006

Sun to shine on AJAX

Projects afoot to accommodate JavaScript in Java

Sun Microsystems will shine more light on accommodations for AJAX (Asynchronous JavaScript and XML) in the Java realm at the AJAXWorld Conference & Expo in Santa Clara, Calif. next week.

Featured on Sun's agenda are details on Project jMaki and Project Phobos as well as an update on Sun's JSF (JavaServer Faces) component model for Web application development, said Sun's Greg Murray, AJAX architect with the company and the project lead for jMaki. Phobos, jMaki and Phobos are all open source projects.

Sun's AJAX efforts focus on making JavaScript more available to Java developers, Murray said. "The problem is, people are afraid of JavaScript," he said.

"If we want to keep Java relevant, we have to support this newer programming model [scripting]," Murray said. Web 2.0 and AJAX are very important to Sun, Murray said. The next version of Java, Java Standard Edition 6, will support JavaScript and is expected some time in 2007.

Sun's accommodations with JavaScript will make AJAX simpler, said analyst Rikki Kirzner, CEO of Centennial Global Research. "You should be able to make AJAX simpler than it is," she said. AJAX currently lacks accommodations with Java, according to Kirzner.  "AJAX is a way to add richness to 3GL code, to any code, and Java doesn't readily embrace it," Kirzner said.

The jMaki project enables Java developers to use JavaScript in Java applications as either a JSP (Java Server Pages) tag library or a JSF component. "It's a way of wrapping some of the existing JavaScript frameworks out there and exposing them to Java developers," Murray said. Developers can access Dojo and other frameworks. 

A Dojo widget could be included in a page, for example. "Basically, jMaki will generate all the JavaScript, everything necessary to put that in the page for you," Murray said. A beta release of jMaki is planned for release in November. "We've been working away just to polish the edges," said Murray. A general release is expected in January or February 2007.

Phobos is a way to script server-side code in JavaScript, rather than write a JSP page or a servlet, Murray said. The technology is planned for release early next year.

Sun anticipates making jMaki and Phobos add-ons to the Java Enterprise Edition 5 platform.

The future of JSF, meanwhile, involves an upgrade being called Project Dynamic Faces or JSF 2.0. This version will extend the component model for server-side components to better support AJAX, Murray said. This release is driven by feedback from users who seek AJAX functionality but want a strict programming model for the server, which JSF provides, Murray said.

Dynamic Faces has been available in an early access release since the May timeframe.

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.