Ajax uses the following
- XHTML as markup language and CSS as styling information
- DOM accessed with a script language
- XMLHttpRequest object to communicate with the server asynchronously
- XML as the message format to transfer data
We have seen how AJAX has done a face-lift of the well known web applications. It has headed to the mobile space.
MobileAjax is based on Mobile JSF. The JSF page is UI component based and Ajax can refresh just components which need to be refreshed on the page. By adapting the JSF components with Ajax support, the XMLHttpRequest object can be used to check the states of JSF components from the server and just refresh those needed.
There are many open-source projects of Ajax for the JSF framework. There is a table providing an overview of these projects at http://www.ajaxjsf.net.
Low communication traffic makes Ajax prefect to go with mobile applications. Expensive, low-bandwidth and small screens are the main limitations for mobile applications. Ajax can upload and download just the necessary data for the pages. This will highly reduce the traffic and communication time.
Limitations of AJAX and Web 2.0 on mobile Web browsers
Java ME technology addresses these limitations
Stripped down VM and libraries tuned for reduced capacity devices
Open Source Rich Internet Application (RIA) Framework
Rich and robust application delivery
Multi-runtime: Rendered in Flash, DHTML, or Java ME Technology
Introduction to OpenLaszlo: OpenLaszlo is an XML-based and we can Use our favorite editor
It has Source-control and Library mechanism (for modularization)
Its a familiar methodology for software engineers, and we can use standard OOP features
● Runtime independent tags and APIs ● No ActionScript, DOM, etc. ● Interface with server via XML over HTTP, SOAP, XMLRPC, and Java API for XML-based RPC (
●Runtime constraint system ●Hierarchical data binding with XPath ●Media, streaming support ●Extensible UI component framework