Free Sample
+ Collection

DWR Java AJAX Applications

Sami Salkosuo

A step-by-step example-packed guide to learning professional application development with Direct Web Remoting
RRP $23.99
RRP $39.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847192936
Paperback228 pages

About This Book

  • Learn Direct Web Remoting features from scratch and how to apply DWR practically
  • Topics such as configuration, testing, and debugging are thoroughly explained through examples
  • Demonstrates advanced elements of creating user interfaces and back-end integration
  • Contains easy-to-understand explanations, realistic examples, and complete demo applications

Who This Book Is For

This book is written for competent Java developers and assumes that you are a professional rather than hobbyist. You should be familiar with the concepts of programming, Web 2.0, and AJAX.

Table of Contents

Chapter 1: Introduction
What is AJAX?
DWR: AJAX for Java Developers
The DWR Community
Chapter 2: DWR Features
Ease of Use
Reverse AJAX
DWR JavaScript Libraries
Creators, Filters, and Signatures
Integration with Other Projects
Chapter 3: Getting Started
Supported Browsers and Environments
Setting up a Development Environment
Testing and Debugging
Error Handling
Packaging and Deployment
Chapter 4: User Interface: Basic Elements
Creating a Dynamic User Interface
Implementing Tables and Lists
Implementing Field Completion
Chapter 5: User Interface: Advanced Elements
Creating Forms
Building a Navigation Tree
Map Scrolling Using DWR
Chapter 6: Backend Integration
Integrating a Database with DWR
Integrating with Web Services
Integrating with a Messaging System
Chapter 7: Sample Applications
Collaborative Book Authoring

What You Will Learn

  • Will make your development faster and simpler by teaching you the features of DWR and implementing it with Reverse AJAX.
  • Teaches you how to use DWR JavaScript libraries, Convertors, Creators, Filters and Signatures. Integration with other projects, and Security – factors which are essential to developing any DWR application.
  • Specifies practical aspects such as supported browser and environments, configuration, setting up development environment, testing and debugging, error handling, packaging and deployment in a comprehensive manner, by demonstration where required.
  • Provides a practical demonstration of creating a dynamic user interface, implementing tables and lists, and field completion for you to derive concepts from.
  • Shows advanced elements of user interface through practical examples of creating forms, building a navigation tree, and map scrolling.
  • Teaches back-end integration: integrating a database with DWR, integrating with web services, and integrating with a messaging system.
  • Includes collaborative book authoring and chatroom applications, which show how easy it would be to enhance your applications to production grade using these samples as a starting point for development and as a source of ideas.

In Detail

AJAX enables rich desktop-like user interfaces in the browser and enables interactive interfaces that can even replace traditional user interfaces. DWR (Direct Web Remoting) is an Open Source Java framework for building AJAX applications. DWR's main idea is to hide AJAX implementation details, like XMLHttpRequest, from developers. By using DWR, you can concentrate on developing the application and business objects and leave AJAX details behind the scenes where they belong. DWR allows server-side Java classes to be used in the browser and JavaScript functions to be used on the server (Reverse AJAX).

This book will show competent Java programmers how to work with DWR to create powerful AJAX applications. It starts with a tutorial on DWR's main features and functions. Then it covers setting up the development environment. Finally, it concludes with some sample applications.

The later chapters are full of example code for sample applications, to aid comprehension.


Read More