The Definitive Guide to Spring Web Flow (eBook)
408 Seiten
Apress (Verlag)
978-1-4302-1625-4 (ISBN)
Spring Web Flow is an exciting open-source framework for developing Java web applications. The framework improves productivity by addressing three major pain-points facing web application developers: user interface navigation control, state management, and modularity.
The Definitive Guide to Spring Web Flow covers Spring Web Flow in detail by explaining its motivation and feature set, as well as providing practical guidance for using the framework to develop web applications successfully in a number of environments.
Erwin Vervaet is the originator of the Spring Web Flow project and currently co-leads its development. He works as a senior software engineer in Leuven, Belgium.
Spring Web Flow is an exciting open-source framework for developing Java web applications. The framework improves productivity by addressing three major pain-points facing web application developers: user interface navigation control, state management, and modularity. The Definitive Guide to Spring Web Flow covers Spring Web Flow in detail by explaining its motivation and feature set, as well as providing practical guidance for using the framework to develop web applications successfully in a number of environments.
Erwin Vervaet is the originator of the Spring Web Flow project and currently co-leads its development. He works as a senior software engineer in Leuven, Belgium.
Contents at a Glance 4
Contents 5
About the Author 11
About the Technical Reviewers 12
Acknowledgments 13
Introduction 14
About the Spring Web Flow Project 15
About This Book 16
Introducing Spring Web Flow 20
Free Browsing 23
Controlled Navigation 25
Traditional Solutions 34
Spring Web Flow 39
Summary 41
Getting Started 43
Downloading Spring Web Flow 43
Runtime Requirements 44
Build System Integration 44
Hello World 52
Spring Web Flow in a Development Environment 57
Spicing Up Hello World 64
Summary 67
Spring Web Flow’s Architecture 68
Language 69
Architectural Layers 71
Summary 77
Spring Web Flow Basics 79
Designing Flows 80
Flow Builders 88
Defining Flows 96
Flow Executions 106
Implementing Actions 118
Basic State Types 128
Flow Definition Registries 137
Summary 145
Advanced Web Flow Concepts 147
OGNL 147
The Conversion Service 169
Annotating Flow Definition Artifacts 172
Handling Exceptions 174
View Selections 178
Data Binding and Validation 184
Subflows 194
Flow Start and End Actions 206
The Complete “ Enter Payment” Flow Definition 208
Summary 211
Flow Execution Management 213
Introducing Flow Execution Repositories 213
Flow Executors 216
Flow Execution Repositories 227
Flow Execution Listeners 243
Summary 253
Driving Flow Executions 255
Flow Executor Integration 256
Spring Web Flow View Development 258
Host Framework Integrations 266
Summary 286
Testing with Spring Web Flow 287
Unit Testing 288
Flow Execution Testing 291
Integration Testing 300
Summary 303
The Sample Application 304
Functional Requirements 305
Downloading and Building 305
The Domain Model 308
Application Setup 310
The Presentation Tier 312
Summary 322
Real-World Use Cases 324
Accessing the Host Environment 324
Flow Definition Parameterization 326
Leveraging Listeners 329
Load and Stress Testing 334
Spring Web Flow and AJAX 337
Summary 338
Extending Spring Web Flow 339
Common Extension Points 339
A Database- Backed Conversation Manager 348
A Flow Servlet 356
Building Spring Web Flow 360
Summary 362
Epilogue 364
Spring Web Flow 2 365
Choosing Between Spring Web Flow 1 and 2 368
Concluding Thoughts 368
References 369
Index 371
Erscheint lt. Verlag | 15.2.2009 |
---|---|
Zusatzinfo | 408 p. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Mathematik / Informatik ► Informatik ► Web / Internet | |
Schlagworte | Control • Framework • Java • Management • Navigation |
ISBN-10 | 1-4302-1625-5 / 1430216255 |
ISBN-13 | 978-1-4302-1625-4 / 9781430216254 |
Haben Sie eine Frage zum Produkt? |
Größe: 2,8 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