A core part of AJAX is JavaScript, and Sun is including JavaScript support in the ‘Mustang’ release of Java SE, with the core run-time. Mustang Java SE 6 includes a Rhino based JavaScript engine and javax.script API. Rhino is an open-source implementation of JavaScript written entirely in Java.
A. Sundararajan in his blog says that : “You have all AJAX elements within JDK: 1) JavaScript 2) JSON or XML for data interchange 3) asynchronous — you can use java.lang.Thread from JavaScript or from Java code! So, welcome to AJAX with JDK (with or without browser client?)”
JSON (pronounced “Jason”), stands for “JavaScript Object Notation”, is a lightweight, language-independent computer data interchange format. JSON has the advantage, over XML, as a data interchange format in that it can be trivially parsed, by JavaScript, with JavaScript’s built in eval() procedure.
Sun is also promoting an AJAX-supporting component model around its upcoming Java Studio Creator tool.
If AJAX is big today, it looks like it will get even bigger once Mustang is out.
Related:
>> Is AJAX worth adopting?
>> Will AJAX bring up a different kind of software developer?
>> AJAX is more hype than substance
>> AJAX is very important and the timing is right for the rich Internet client
Written by Content Team on November 3, 2005
Print


