Buying Options
Ajax on Java
Print $29.99
Add to Cart
Print+Ebook $32.99
Add to Cart
Ebook $23.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £22.99
Add to Cart
What is this?
Description

This practical guide shows you how to make your Java web applications more responsive and dynamic by incorporating new Ajaxian features: 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). The book includes strategies for integrating Ajax into JSP and JSF applications, and using Ajax with Struts.

Full Description
Table of Contents
  1. Chapter 1 Setup

    1. Requirements

    2. Installing Tomcat

    3. Installing Ant

  2. Chapter 2 JavaScript for Ajax

    1. Creating the Application

    2. Running the Example

  3. Chapter 3 A Simple Ajax Servlet

    1. Building and Deploying the Ajax Application

    2. Running the Example

  4. Chapter 4 XML and JSON for Ajax

    1. The Character Decoder

    2. Setting Up a Simple XML Document

    3. Back on the Client: Mining the XML

    4. Building the Application

    5. Running the Application on Tomcat

    6. Passing Data with JSON

    7. Summary

  5. Chapter 5 Getting Useful Data

    1. Form Entry with Ajax

    2. Building a Suggestion Field

  6. Chapter 6 Ajax Libraries and Toolkits

    1. Using the Dojo Toolkit

    2. Using the Rico Toolkit

    3. Using DWR with Ajax

    4. Drag 'n' Drop with Scriptaculous and Prototype

  7. Chapter 7 Ajax Tags

    1. Creating a Tag Library

    2. Third-Party Tag Libraries

  8. Chapter 8 Ajax on Struts

    1. Struts-Layout

    2. Adding Ajax to Struts with DWR

    3. Ajax with Struts: What Have We Learned Here?

  9. Chapter 9 JavaServer Faces and Ajax

    1. The JSF Lifecycle

    2. Writing a Custom JSF Component

    3. Developing a Custom JSF Tag

    4. Handling JSF Input by Extending HtmlInputText

    5. Writing the JSF Support for Ajax

    6. Summary

  10. Chapter 10 Google Web Toolkit

    1. Getting Started with GWT

    2. Debugging the Application

    3. Fleshing Out the Application: The Client

    4. Supplying Services to the Client

    5. Testing ZipCodes with the Service

    6. GWT Widgets

  1. Colophon

View Full Table of Contents
Product Details
Title:
Ajax on Java
By:
Steven Douglas Olson
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
February 2007
Ebook Release:
February 2009
Pages:
240
Print ISBN:
978-0-596-10187-9
| ISBN 10:
0-596-10187-2
Ebook ISBN:
978-0-596-10599-0
| ISBN 10:
0-596-10599-1
Customer Reviews
About the Author
  1. Steven Douglas Olson

    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.

    View Steven Douglas Olson's full profile page.

Colophon

The animal on the cover of Ajax on Java is a cotton-top tamarin (Saguinus oedipus), a small-bodied monkey characterized by the fan of long, white hair on its head. Tamarins are divided into three groups based on facial hair. The cotton-top is marked by thin hair on its black-skinned face such that its face appears naked. This puts it squarely into the bare-face group, as opposed to the hairy-face or mottled-face group. Tamarins have claw-like nails resembling those of a squirrel rather than flat nails like other primates, which they use to cling, run, and leap through trees. They can do this with great ease due to their size: cotton-tops weigh less than one pound and reach only nine inches in height.

Cotton-top tamarins are found in a small area of northwest Colombia. Their range is bound by the Cauca and Magdalena Rivers and the Atlantic coast; however, they are currently found only in parks and reserves throughout this area. A group of tamarins maintains a fixed territory within its home range, which it chooses based on fruit availability. Other sources of nourishment for the tamarin include insects, plant exudates, nectar, and occasionally reptiles and amphibians. Most groups appear to be monogamous, with only one reproductively active male and female. Cotton-tops, like other members of their subfamily (callitrichines), primarily give birth to non-identical twins. As its scientific name indicates, the male tamarin seems to have an Oedipus complex, yet the mother does not allow this relationship to be consummated.

  • Book cover of Ajax on Java