: Frank Zammetti
: Practical DWR 2 Projects
: Apress
: 9781430205562
: 1
: CHF 38.00
:
: Informatik
: English
: 568
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF

Practical DWR Web 2.0 Projects addresses the needs of most developers who would rather learn by example and by doing. This book contains several projects that developers can sink their teeth into doing.

Written by accomplished Ajax and Java Web developer and author, Frank Zammetti, this book explores DWR and all it offers. It features six full, working applications that use DWR. This book allows you to lean by example, as you tear the applications apart, you see what makes them tick, and even discover how to extend them at your own pace.



Frank W. Zammetti is a web architect specialist for a leading worldwide financial company by day, and a PocketPC and open-source developer by night. He is the founder and chief software architect of Omnytex Technologies, a PocketPC development house.He has over 12 years of 'professional' experience in the information technology field, and over 12 more of 'amateur' experience. He began his nearly life-long love of computers at age 7, when he became one of four students chosen to take part in his school district's pilot computer program. A year later, he was the only participant left! The first computer Frank owned was a Timex Sinclair 1000 in 1982, on which he wrote a program to look up movie times for all of Long Island (and without the 16k expansion module!). After that, he moved on to a Commodore 64 and spent about 4 years doing nothing but assembly programming (games mostly). He finally got his first IBM-compatible PC in 1987, and began learning the finer points of programming (as they existed at that time!).Frank has primarily developed web-based applications for about 8 years. Before that, he developed Windows-based client/server applications in a variety of languages. Frank holds numerous certifications including SCJP, MCSD, CNA, i-Net+, A+, CIW, MCP, and numerous BrainBench certifications. He is a contributor to a number of open source projects, including DataVision, Struts, PocketFrog, and Jakarta Commons. In addition, Frank has started two projects: Java Web Parts and The Struts Web Services Enablement Project. He also was one of the founding members of a project that created the first fully functioning Commodore 64 emulator for PocketPC devices (PocketHobbit).Frank has authored various articles on topics that range from integrating DataVision into web apps, to using Ajax in Struts-based applications. He is working on a new application framework specifically geared to creating next-generation web applications.
Contents at a Glance5
Contents6
Foreword11
About the Author13
About the Technical Reviewer14
About the Illustrator15
Acknowledgments16
Introduction17
An Overview of This Book18
Obtaining This Book s Source Code18
Obtaining Updates for This Book19
Contacting the Author19
Setting the Table20
An Introduction to Ajax, RPC, and Modern RIAs21
A Brief History of Web Development: The Classic Model21
What s So Wrong with the Classic Web?29
Enter Ajax32
Why Is Ajax a Paradigm Shift? On the Road to RIAs36
The Flip Side of the Coin41
Let s Get to the Good Stuff: Our First Ajax Code, the Manual Way43
Cutting IN the Middle Man: Ajax Libraries to Ease Our Pain51
Alternatives to Ajax54
Hmm, Are We Forgetting Something? What Could It Be? Oh Yeah, DWR!57
Summary58
Getting to Know DWR60
First Things First: Why DWR at All?60
DWR: RPC on Steroids for the Web62
DWR Architectural Overview64
Getting Ready for the Fun: Your DWR Development Environment66
A Simple Webapp to Get Us Started69
Adding DWR to the Mix78
The DWR Test/ Debug Page82
Configuring DWR Part 1: web. xml84
Configuring DWR Part 2: dwr. xml87
Interacting with DWR on the Client98
Interacting with DWR on the Server105
DWR Configuration and Other Concepts: The engine. js File107
A Quick Look at util. js, the DWR Utility Package109
Summary111
Advanced DWR112
Locking the Doors: Security in DWR112
When Perfection Is Elusive: Error Handling in DWR Applications118
Help from Elsewhere: Accessing Other URLs124
Turning the Tables: Reverse Ajax126
Don t Go It Alone: Integration with Frameworks and Libraries134
Something Old, Something New: Annotations139
Summary142
The Projects143
InstaMail: An Ajax-Based Webmail Client144
Application Requirements and Goals144
Dissecting InstaMail145
Suggested Exercises202
Summary203
Share Your Knowledge: DWiki, the DWR- Based Wiki204
Application Requirements and Goals204
Dissecting DWiki212
Suggested Exercises272
Summary273
Remotely Managing Your Files: DWR File Manager274
Application Requirements and Goals274
Dissecting Fileman285
Suggested Exercises341
Summary341
Enter the Enterprise: A DWR- Based Report Portal343
Application Requirements and Goals343
Dissecting RePortal355
Suggested Exercises430
Summary431
DWR for Fun and Profit ( a DWR Game!)433
Application Requirements and Goals433
Dissecting InMemoria437
Suggested Exercises470
Summary470
Timekeeper: DWR Even Makes Project Management Fun!471
Application Requirements and Goals471
Dissecting Timekeeper477
Suggested Exercises534
Summary535
Index536