Pro Spring MVC with Web Flow
Pro Spring MVC provides in-depth coverage of Spring MVC and Spring Web Flow, two highly customizable and powerful web frameworks brought to you by the developers and community of the Spring Framework. Spring MVC is a modern web application framework built upon the Spring Framework, and Spring Web Fl...
Autor principal: | |
---|---|
Otros Autores: | , , , |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
[Berkeley, Calif.] : New York :
Apress ; Distributed to the book trade worldwide by Springer Science+Business Media
2012.
|
Edición: | 1st ed. 2012. |
Colección: | The expert's voice in Spring Pro Spring MVC
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629431406719 |
Tabla de Contenidos:
- Title Page; Copyright Page; Contents at a Glance; Table of contents; Foreword; About the Authors; About the Technical Reviewer; Acknowledgments; Introduction; What This Book Will Teach You; Who Is This Book For?; How to Read This Book; The Application Example; The Sample Code; How This Is Book Structured; A Thousand-Mile View of the Spring Ecosystem; Onward!; Contacting the Authors; Chapter 1: Configuring a Spring Development Environment; Prerequisites; Java Development Kit; Servlet Container; Integrated Development Environment; The Sample Application; A Bookstore Sample Application
- The Build SystemDependency Management; The Gradle Build File; Building the Sample Application; Deploying the Sample Application; SpringSource Tool Suite (STS); Configuring STS for Gradle projects; Importing the Sample into STS; Running the Application on the SpringSource vFabric tc Server; Editing the Application; Summary; Chapter 2: Spring Framework Fundamentals; The Spring Framework; Dependency Injection; ApplicationContexts; Resource Loading; Component-Scanning; Scopes; Profiles; Enabling Features; Aspect-Oriented Programming; Web Applications; Summary
- Chapter 3: Web Application ArchitectureThe MVC Pattern; Application Layering; Separation of Concerns; Spring MVC Application Layers; The Domain Layer; The User Interface Layer; The Web Layer; The Service Layer; The Data Access Layer; More Roads to Rome; Summary; Chapter 4: Spring MVC Architecture; DispatcherServlet Request Processing Workflow; The Workflow; Prepare a Request; Determine the HandlerExecutionChain; Execute the HandlerExecutionChain; Handle Exceptions; Render a View; Finish the Processing; The Request Processing Summary; The DispatcherServlet; Bootstrapping the DispatcherServlet.
- Using web.xmlUsing web-fragment.xml; Using ServletContainerlnitializer; Using WebApplicationlnitializer; Configuring the DispatcherServlet.; Dispatcher Servlet Properties; The Application Context; Component Resolution; The Dispatcher Servlet's Default Configuration; The Spring @MVC Defaults; The Spring MVC Components; HandlerMapping; BeanNameUrlHandlerMapping; SimpleUrlHandlerMapping; ControllerBeanNameHandlerMapping; ControllerClassNameHandlerMapping; DefaultAnnotationHandlerMapping and RequestMappingHandlerMapping; HandlerAdapter; HttpRequestHandlerAdapter; SimpleControllerHandlerAdapter
- SimpleServletHandlerAdapterAnnotationMethodHandlerAdapter; RequestMappingHandlerAdapter; MultipartResolver; Com monsM ulti partResolver; StandardServletMultipartResolver; LocaleResolver; AcceptHeaderLocaleResolver; CookieLocaleResolver; FixedLocaleResolver; SessionLocaleResolver; ThemeResolver; Cookie ThemeResolver; FixedThemeResolver; SessionThemeResolver; HandlerExceptionResolver; RequestToViewNameTranslator; ViewResolver; FlashMapManager; Summary; Chapter 5: Implementing Controllers; Introducing Controllers; Interface-based Controllers; Annotation-based Controllers
- Configuring View Controllers