Ajax on Java: The Essentials of XMLHttpRequest and XML Programming with Java

Ajax on Java: The Essentials of XMLHttpRequest and XML Programming with Java

by Steven Douglas Olson


$28.32 $29.99 Save 6% Current price is $28.32, Original price is $29.99. You Save 6%.
View All Available Formats & Editions
Choose Expedited Shipping at checkout for guaranteed delivery by Friday, October 18


This practical guide shows you how to make your Java web applications more responsive and dynamic by incorporating new Ajaxian features, including suggestion lists, drag-and-drop, and more. Java developers can choose between many different ways of incorporating Ajax, from building JavaScript into your applications "by hand" to using the new Google Web Toolkit (GWT).

Ajax on Java starts with an introduction to Ajax, showing you how to write some basic applications that use client-side JavaScript to request information from a Java servlet and display it without doing a full page reload. It also presents several strategies for communicating between the client and the server, including sending raw data, and using XML or JSON (JavaScript Object Notation) for sending more complex collections of data.

The book then branches out into different approaches for incorporating Ajax, which include:

  • The Prototype and script.aculo.us Javascript libraries, the Dojo and Rico libraries, and DWR
  • Integrating Ajax into Java ServerPages (JSP) applications
  • Using Ajax with Struts
  • Integrating Ajax into Java ServerFaces (JSF) applications
  • Using Google's GWT, which offers a pure Java approach to developing web applications: your client-side components are written in Java, and compiled into HTML and JavaScript

Ajax gives web developers the ability to build applications that are more interactive, more dynamic, more exciting and enjoyable for your users. If you're a Java developer and haven't tried Ajax, but would like to get started, this book is essential. Your users will be grateful.

Product Details

ISBN-13: 9780596101879
Publisher: O'Reilly Media, Incorporated
Publication date: 02/01/2007
Pages: 228
Product dimensions: 7.00(w) x 9.19(h) x 0.58(d)

About the Author

Steven Olson has been a software developer for 20 years, starting in 1984 with ForTran, Pascal, Basic, and, later, C at a company called Signetics. In 1991, he went to work for Novell, writing C. He began dabbling in Java, and in 1995 was one of the first to join the Java development group at Novell. Since then, he has consulted or worked directly for eight other companies writing primarily in Java. Currently, he works for logoworks.com, where his programming adventures continue.

Table of Contents

  • Dedication
  • Preface
  • Chapter 1: Setup
  • Chapter 2: JavaScript for Ajax
  • Chapter 3: A Simple Ajax Servlet
  • Chapter 4: XML and JSON for Ajax
  • Chapter 5: Getting Useful Data
  • Chapter 6: Ajax Libraries and Toolkits
  • Chapter 7: Ajax Tags
  • Chapter 8: Ajax on Struts
  • Chapter 9: JavaServer Faces and Ajax
  • Chapter 10: Google Web Toolkit
  • Colophon

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews