| By RIA News Desk | Article Rating: |
|
| January 25, 2007 04:45 PM EST | Reads: |
17,288 |
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,288
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. |
||||
- Kindle 2 vs Nook
- Cloud Computing on Gartner's Top 10 List and SYS-CON Events' 2010 Calendar
- Confessions of a Ulitzer Addict
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- Moving Your RIA Apps into the Cloud: Seven Challenges
- Adobe’s Aiming ColdFusion at Multiple Clouds
- Windows 7 – Microsoft’s First Step to the Cloud
- Ulitzer Provides a Powerful Social Journalism Platform
- Jill Tummler Singer, Deputy CIO of CIA, Keynotes at GovIT Expo
- Open Source Mobile Cloud Sync and Push Email
- Kindle 2 vs Nook
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing on Gartner's Top 10 List and SYS-CON Events' 2010 Calendar
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Confessions of a Ulitzer Addict
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- My Thoughts on Ulitzer
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- US Post Office Hops a Ride on NetSuite’s Cloud
- Moving Your RIA Apps into the Cloud: Seven Challenges
- Adobe’s Aiming ColdFusion at Multiple Clouds
- 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
- Where Are RIA Technologies Headed in 2008?
- Struts Validations Framework Using AJAX




































