Practical Apache Struts 2 Web 2.0 Projects (eBook)
XX, 338 Seiten
Apress (Verlag)
978-1-4302-0477-0 (ISBN)
Practical Apache Struts 2 Web 2.0 Projects is nothing less than one of the first books to cover the agile, lightweight open source Apache Struts 2 Web Framework, an essentially new and improved Struts platform that should meet today's more agile Java development needs. Apache Struts remains the most popular framework for building Java-driven web sites, despite continued challenges from competitive frameworks and APIs like JavaServer Faces (JSF), Wicket, Grails, and more. The new features incorporated into Struts 2 will help this powerful framework to maintain its top-ranking position for the foreseeable future.
Ian Roughley is an Apache Struts 2 user and developer, and has been developing Java web applications for years using Struts web technology.
Apache Struts has long provided Java developers with a powerful framework for building extensible, maintainable web applications. Yet the version 2 release takes developers capabilities to the next level, having integrated Ajax support, the ability to easily integration with the Spring framework, and the ability to take full advantage of POJOs. Practical Apache Struts 2 Web 2.0 Projects shows you how to capitalize upon these features to build nextgeneration web applications that both enthrall and empower your users. Gain an indepth understanding of the Struts framework, with special attention paid to key version 2 features Learn how to take advantage of Web 2.0 concepts alongside Struts 2 to build nextgeneration web sites Follow along with the introduction of important concepts and development techniques by way of a web site project closely resembling what you might encounter in any enterprise environment
Ian Roughley is an Apache Struts 2 user and developer, and has been developing Java web applications for years using Struts web technology.
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
Erscheint lt. Verlag | 2.3.2008 |
---|---|
Zusatzinfo | XX, 338 p. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Informatik ► Web / Internet ► Web Design / Usability |
Schlagworte | Development • Java • Open Source • search engine marketing (SEM) • user interface • web applications |
ISBN-10 | 1-4302-0477-X / 143020477X |
ISBN-13 | 978-1-4302-0477-0 / 9781430204770 |
Haben Sie eine Frage zum Produkt? |
Größe: 3,7 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich