Description
Book SynopsisA practical guide that 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. It also presents strategies for communicating between the client and the server, including sending raw data.
Table of ContentsPreface 1. Setup Requirements Installing Tomcat Installing Ant 2. JavaScript for Ajax Creating the Application Running the Example 3. A Simple Ajax Servlet Building and Deploying the Ajax Application Running the Example 4. XML and JSON for Ajax The Character Decoder Setting Up a Simple XML Document Back on the Client: Mining the XML Building the Application Running the Application on Tomcat Passing Data with JSON Summary 5. Getting Useful Data Form Entry with Ajax Building a Suggestion Field 6. Ajax Libraries and Toolkits Using the Dojo Toolkit Using the Rico Toolkit Using DWR with Ajax Drag 'n' Drop with Scriptaculous and Prototype 7. Ajax Tags Creating a Tag Library Third-Party Tag Libraries 8. Ajax on Struts Struts-Layout Adding Ajax to Struts with DWR Ajax with Struts: What Have We Learned Here? 9. JavaServer Faces and Ajax The JSF Lifecycle Writing a Custom JSF Component Developing a Custom JSF Tag Handling JSF Input by Extending HtmlInputText Writing the JSF Support for Ajax Summary 10. Google Web Toolkit Getting Started with GWT Debugging the Application Fleshing Out the Application: The Client Supplying Services to the Client Testing ZipCodes with the Service GWT Widgets Index