| By RIA News Desk | Article Rating: |
|
| January 25, 2007 04:45 PM EST | Reads: |
17,144 |
A new tutorial on the Oracle Technology Network guides developers through the process of getting AJAX and their Java applications to work well together. The article is titled Enabling Data Exchange in AJAX Applications and is written by Andrei Cioroianu.
The article focuses on how to transfer data from an AJAX client to a server, using the URL encoding and XML formats. It also guides developers on how to validate the data with XML Schema, extract the needed information with XPath and produce XML or JSON responses on the server side. Finally the article talks about how to handle the XML and JSON responses with JavaScript and how to generate dynamic content that is used to update the Web page in the browser.
The author writes, “The goal of this article is to provide everything you need for implementing data exchange in AJAX applications, using the best techniques and the most recent APIs. The included sample code is organized in three packages: util, model, and feed. The util package contains classes that provide methods for XML parsing, Schema-based validation, XPath-based querying, DOM serialization and JSON encoding. The model package contains an example data model that can be initialized from an XML document and then converted to the JSON format. You’ll also find a Schema example (used for XML validation) in the model directory. The feed package has classes that simulate a data feed, whose information is retrieved every 5 seconds with AJAX in order to refresh a Web page. The article explains how to avoid a memory leak in the Web browser, by aborting unfinished AJAX requests and deleting the XMLHttpRequest objects after using them. “
To access the article, please visit http://www.oracle.com/technology/pub/articles/cioroianu-ajax-data.html?rssid=rss_otn_news
Published January 25, 2007 Reads 17,144
Copyright © 2007 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
About RIA News Desk
Ever since Google popularized a smarter, more responsive and interactive Web experience by using AJAX (Asynchronous JavaScript + XML) for its Google Maps & Gmail applications, SYS-CON's RIA News Desk has been covering every aspect of Rich Internet Applications and those creating and deploying them. If you have breaking RIA news, please send it to RIA@sys-con.com to share your product and company news coverage with AJAXWorld readers.
![]() |
n d 09/10/06 12:25:45 PM EDT | |||
A new tutorial on the Oracle Technology Network guides developers through the process of getting Ajax and their Java applications to work well together. The article is titled Enabling Data Exchange in Ajax Applications and is written by Andrei Cioroianu. |
||||
![]() |
AJAX News Desk 07/29/06 11:57:27 AM EDT | |||
A new tutorial on the Oracle Technology Network guides developers through the process of getting Ajax and their Java applications to work well together. The article is titled Enabling Data Exchange in Ajax Applications and is written by Andrei Cioroianu. |
||||
![]() |
SYS-CON Italy News Desk 06/22/06 10:40:21 AM EDT | |||
A new tutorial on the Oracle Technology Network guides developers through the process of getting Ajax and their Java applications to work well together. The article is titled Enabling Data Exchange in Ajax Applications and is written by Andrei Cioroianu. |
||||
![]() |
AJAXWorld News Desk 06/22/06 08:37:41 AM EDT | |||
A new tutorial on the Oracle Technology Network guides developers through the process of getting Ajax and their Java applications to work well together. The article is titled Enabling Data Exchange in Ajax Applications and is written by Andrei Cioroianu. |
||||
- AJAX World RIA Conference & Expo Kicks Off in New York City
- What is Web 3.0?
- AJAXWorld RIA Conference & Expo 2009 West: Call for Papers
- AJAX and RIA 2009: More Choices, Tough Decisions
- Ulitzer’s Amazing First 30 Days in Public Beta
- SYS-CON Announces Government IT Conference & Expo
- RIAs for Web 3.0 Using the Microsoft Platform
- REA Is Where RIA Becomes the Norm
- Why an Application Grid?
- 2nd International Cloud Computing Expo New York Photo Album
- AJAX World RIA Conference & Expo Kicks Off in New York City
- What is Web 3.0?
- Developing Rich Client Applications Using Swing - II
- AJAXWorld RIA Conference & Expo 2009 West: Call for Papers
- AJAX and RIA 2009: More Choices, Tough Decisions
- AJAX World RIA Conference Awards Announced
- WebORB Launched for Flex, Flash, AJAX and Silverlight
- Appcelerator Revolutionizes UI Prototyping
- Adobe Takes LiveCycle into the Cloud
- Ulitzer’s Amazing First 30 Days in Public Beta
- Building a Drag-and-Drop Shopping Cart with AJAX
- What Is AJAX?
- Google Maps! AJAX-Style Web Development Using ASP.NET
- Flashback to January 2006: Exclusive SYS-CON.TV Interviews on "OpenAjax Alliance" Announcement
- AJAXWorld Conference & Expo to Take Place October 2-4, 2006, at the Santa Clara Convention Center, California
- AJAX Sponsor Webcasts Are Now Available at AJAXWorld Website
- How and Why AJAX, Not Java, Became the Favored Technology for Rich Internet Applications
- "Real-World AJAX" One-Day Seminar Arrives in Silicon Valley
- AJAXWorld University Announces AJAX Developer Bootcamp
- AJAX Support In JadeLiquid WebRenderer v3.1







































