Cargando…

Spring Web Flow 2 Web development : master Spring's well-designed Web frameworks to develop powerful Web applications /

A practical guide to designing powerful web applications with the Spring Web Flow framework. This book is targeted at Java web application developers who want to work on Spring Web Flow. This book is a must-read for those who desire to bridge the gap between the popular web framework and the popular...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Luppken, Sven
Otros Autores: Masini, Luca, Liu, Xinyu, Stauble, Markus
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, U.K. : Packt Pub., ©2009.
Colección:From technologies to solutions.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Authors; About the Reviewers; Table of Contents; Preface; Chapter 1: Introduction; Three cornerstones: Spring, Spring MVC, and Spring Web Flow; Spring Framework; Spring MVC; Spring Web Flow; What is Spring Web Flow; The elements of Spring Web Flow: flow, view, and conversation; Flow; View; Conversation; The Spring Web Flow elements: an example; The new major release: Spring Web Flow 2.0; Spring Web Flow; Spring Faces; Spring JavaScript; Spring Binding; Introduction to a new version; Automatic model binding; Support for a new expression language
  • Flash scope is now a real flash scopeSpring Faces; Flow managed persistence; External redirects; Summary; Chapter 2: Setup for Spring Web Flow 2; Installation of Spring Web Flow 2; Inside the distribution; The examples inside the distribution; Building the examples from the source code; Installing the examples on your local machine; Support for developers; Build systems; Ant; Maven; IDE; Eclipse and Spring IDE; NetBeans; A sample for a quick start; Overview over the example; The basics; Building the service and database layer; The web.xml file; Dependencies; Summary
  • Chapter 3: The Basics of Spring Web Flow 2Elements of a flow; The entry point to the flow; Section head; Section data; The metadata of a flow; Section input; Programming in a flow; The scopes; The flow instance variables; Assign a value to a scope variable; Access the value of a scope; Inputs; The states; The start-state; The action-state and execution of business logic; The view-state; The decision-state; The subflow-state; The end-state; The exit point; Section footer; global-transitions: Global handling of events; on-end: Execution of actions at the end of the flow
  • Output: Output of the flowexception-handler: Exceptions between the execution of a flow; bean-import: Declaring beans for a flow; Internals of building a flow; Configuration; FlowRegistry; FlowExecutor; Flow Executor Listeners; Internals of the Webflow Configuration; Inheritance inside a flow definition; Inheritance for flows; Inheritance for states; Merge or no merge; The complete flow for the example; Summary; Chapter 4: Spring Faces; Enabling Spring Faces support; Inside the Facelets technology; The ResourceServlet; Internals of the ResourceServlet; Configuration of the application context
  • Using Spring FacesOverview of all tags of the Spring Faces tag library; A complete example; Creating the input page; Handling of errors; Reflecting the actions of the buttons into the flow definition file; Showing the results; Integration with other JavaServer Faces component libraries; Integration with JBoss RichFaces; Integration with Apache MyFaces Trinidad; Summary; Chapter 5: Mastering Spring Web Flow; Subflows; Spring JavaScript; What is AJAX?; Installing Spring JavaScript; The first example with Spring JavaScript; Apache Tiles integration; Tiles and AJAX; The Web Flow configuration