Ajax on Java

  • Paperback: 228 pages
  • Publisher: O’Reilly Media, Inc. (February 22, 2007)
  • Language: English
  • ISBN-10: 0596101872
  • ISBN-13: 978-0596101879
  • Product Dimensions: 9.1 x 7 x 0.7 inches

Book Description
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.

Ajax on Java’ by Steven Olson is a nice intro book to learning how to use Ajax with your Java code. Nothing more than a quick overview (certainly not a reference) at just over 200 pages, this book will help Java programmers get their feet wet and start learning how to program the Ajax way with instant responsiveness in the Web 2.0 world.

If you program with Java and want to begin to learn how to use Ajax to make your apps hit the “turbo” button, pick up this book and start your engines!!!

Leave a Reply