万本电子书0元读

万本电子书0元读

顶部广告

DWR Java AJAX Applications电子书

售       价:¥

10人正在读 | 0人评论 9.8

作       者:Sami Salkosuo

出  版  社:Packt Publishing

出版时间:2008-10-29

字       数:151.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
The initial part guides the reader through the features of DWR and how it works to make the developer ready for practical implementation. The later part contains plenty of code (with explanations) and graphical interface-driven step-by-step examples, which the reader can try out while surfing through the book to learn by doing. 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.
目录展开

DWR Java AJAX Applications

Table of Contents

DWR Java AJAX Applications

Credits

About the Author

About the Reviewers

Preface

What This Book Covers

What You Need for This Book

Who is This Book For

Conventions

Reader Feedback

Customer Support

Downloading the Example Code for the Book

Errata

Piracy

Questions

1. Introduction

What is AJAX?

DWR: AJAX for Java Developers

The DWR Community

Summary

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

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

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

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

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

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

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部