| By RIA News Desk | Article Rating: |
|
| January 25, 2007 04:45 PM EST | Reads: |
17,268 |
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,268
Copyright © 2007 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By 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. |
||||
- Practical Approaches for Optimizing Website Performance
- SQL Anywhere Server and AJAX
- The Difference Between Web Hosting and Cloud Computing
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Cloud Computing on Gartner's Top 10 List and SYS-CON Events' 2010 Calendar
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- US Post Office Hops a Ride on NetSuite’s Cloud
- Gang of Four Creates Cloud BI Stack
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Confessions of a Ulitzer Addict
- AJAX World RIA Conference & Expo Kicks Off in New York City
- An Introduction to Abbot
- What is Web 3.0?
- AJAXWorld RIA Conference & Expo 2009 West: Call for Papers
- Interviewing Java Developers With Tears in My Eyes
- Adobe Enters Cloud Computing with LiveCycle
- REA Is Where RIA Becomes the Norm
- RIAs for Web 3.0 Using the Microsoft Platform
- Practical Approaches for Optimizing Website Performance
- Social Media Terrorists
- 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

































