Search and Find
Service
Contents at a Glance
5
Contents
6
Foreword
11
About the Author
12
About the Technical Reviewer
13
Acknowledgments
14
Introduction
15
Web 2.0 and Struts2
16
What Is Web 2.0?
16
Web Application Development 2.0
21
Using this Book
23
Getting Up and Running
25
The Build Process
25
The Struts2 Starter Application
29
Summary
49
Framework Overview
51
Walking Through a Request- Response
51
Exploring the Core Components
54
Configuring the Elements of the Framework
66
Extending the Framework
81
Summary
83
Application Overview
84
The Application
84
An Agile Development Process
88
Continuous Integration
89
Integrating the Persistence Layer
90
Summary
101
Data Manipulation
102
The Use Case
102
CRUD Functionality
103
The Domain Model
103
The Action Class
111
JSP Templates
129
Input Validation
140
Exception Handling
146
File Uploads
153
Summary
159
Wizards and Workflows
160
The Use Case
160
The Scope Interceptor
163
Summary
191
Security
192
The Use Cases
192
Container- Based Authentication
193
Implementing Acegi
200
Custom Authentication and Authorization
213
Summary
221
Searching and Listings
222
The Use Cases
222
Setting the Stage
223
Search for Events by Name
233
Developing a Search Form
240
Consolidating List Actions
245
Summary
249
Syndication and Integration
250
The Use Case
250
Implementing RSS
251
Consuming the RSS Feed with a Mashup
262
Implementing Web Services
275
Summary
290
AJAX
291
The Use Cases
292
Developing the Supporting Infrastructure
292
Using the ajax Theme
303
Using JavaScript
314
Using the Google Web Toolkit
327
Summary
338
Index
339
All prices incl. VAT