Table of Contents
Preface
Chapter 1: Introduction
Chapter 2: DWR Features
Chapter 3: Getting Started
Chapter 4: User Interface: Basic Elements
Chapter 5: User Interface: Advanced Elements
Chapter 6: Backend Integration
Chapter 7: Sample Applications
Index
- Chapter 1: Introduction
- What is AJAX?
- DWR: AJAX for Java Developers
- The DWR Community
- Summary
- Chapter 2: DWR Features
- Ease of Use
- Reverse AJAX
- Piggyback
- Polling
- Comet
- DWR JavaScript Libraries
- engine.js
- util.js
- gi.js
- Converters
- Creators, Filters, and Signatures
- Integration with Other Projects
- Security
- Minimize Risks
- Summary
- Chapter 3: Getting Started
- Supported Browsers and Environments
- Configuration
- web.xml
- dwr.xml
- Using Creator and Its Attributes
- Using the Converter Element
- Working with Annotations
- Using Fluent Configuration with DWR
- Setting up a Development Environment
- Development Environment with DWR and Firefox
- Development Environment with Eclipse
- Apache Geronimo
- Testing and Debugging
- Error Handling
- Packaging and Deployment
- Deployment Using the Administration Console
- Deployment Using the Deployer Tool
- Deployment Using Hot Deployment
- Summary
- Chapter 4: User Interface: Basic Elements
- Creating a Dynamic User Interface
- Creating a New Web Project
- Configuring the Web Application
- Developing the Web Application
- Testing the Web Application
- Developing Web Pages
- Callback Functions
- Afterword
- Implementing Tables and Lists
- Server Code for Tables and Lists
- Client Code for Tables and Lists
- Testing Tables and Lists
- Afterword
- Implementing Field Completion
- Server Code for Field Completion
- Client Code for Field Completion
- Afterword
- Summary
- Creating a Dynamic User Interface
- Chapter 5: User Interface: Advanced Elements
- Creating Forms
- Developing the User Interface
- Creating the FormHandler Class
- Testing the Form
- Afterword
- Building a Navigation Tree
- Developing the User Interface
- Creating the NavigationTree Class
- Developing the User Interface, Part 2
- Testing the Navigation Tree
- Afterword
- Map Scrolling Using DWR
- Developing the User Interface
- Creating the MapScroller Java Class
- Testing the Map Scroller
- Afterword
- Summary
- Creating Forms
- Chapter 6: Backend Integration
- Integrating a Database with DWR
- Configuring the Database in Geronimo
- Creating a CountryDerbyDB Java Class
- Testing the Database Integration
- Afterword
- Integrating with Web Services
- Developing the Web Service Client
- Implementing the Web Service Call
- Testing Web Services Integration
- Afterword
- Integrating with a Messaging System
- Setting up Queues in Geronimo
- Developing the OrderSystem Java Class
- Setting up the Application for Messaging
- Testing with the Backend OrderSystem
- Afterword
- Summary
- Integrating a Database with DWR
- Chapter 7: Sample Applications
- Collaborative Book Authoring
- Starting the Project
- Developing the User Interface
- index.jsp
- loginFailed.html
- mainpage.jsp
- Configuring the Web Application
- Developing the Java Classes
- Login.java
- UserDatabase.java
- Util.java
- Book.java
- BookDatabase.java
- Testing Collaborative Book Authoring
- Afterword
- Chatroom
- Starting the Project and Configuration
- Developing the User Interface
- Developing the Java Code
- Testing the Chat
- Afterword
- Summary
- Collaborative Book Authoring



