You are previewing Pro Spring MVC: With Web Flow.

Pro Spring MVC: With Web Flow

Cover of Pro Spring MVC: With Web Flow by Christophe Vanfleteren... Published by Apress
  1. Title
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. Foreword
  6. About the Authors
  7. About the Technical Reviewer
  8. Acknowledgments
  9. Introduction
  10. CHAPTER 1: Configuring a Spring Development Environment
    1. Prerequisites
    2. The Sample Application
    3. SpringSource Tool Suite (STS)
    4. Summary
  11. CHAPTER 2: Spring Framework Fundamentals
    1. The Spring Framework
    2. Dependency Injection
    3. ApplicationContexts
    4. Web Applications
    5. Summary
  12. CHAPTER 3: Web Application Architecture
    1. The MVC Pattern
    2. Application Layering
    3. Separation of Concerns
    4. Spring MVC Application Layers
    5. More Roads to Rome
    6. Summary
  13. CHAPTER 4: Spring MVC Architecture
    1. DispatcherServlet Request Processing Workflow
    2. The DispatcherServlet
    3. The Spring MVC Components
    4. Summary
  14. CHAPTER 5: Implementing Controllers
    1. Introducing Controllers
    2. Request-Handling Methods
    3. Writing Annotation-based Controllers
    4. Data Binding
    5. Internationalization
    6. Summary
  15. CHAPTER 6: Implementing Controllers — Advanced
    1. Using Scoped Beans
    2. Crosscutting Concerns
    3. Extending Spring @MVC
    4. Summary
  16. CHAPTER 7: REST and AJAX
    1. Representational State Transfer (REST)
    2. Asynchronous JavaScript and XML (AJAX)
    3. Handling File Uploads
    4. Summary
  17. CHAPTER 8: Resolving and Implementing Views
    1. View Resolvers and Views
    2. View Resolvers
    3. View Technologies
    4. Summary
  18. CHAPTER 9: Testing Spring MVC Applications
    1. Introducing Testing
    2. Setting Up a Basic Unit Test
    3. Testing Code Coverage
    4. Using Spring’s Test Support
    5. Using Mock Objects
    6. Testing Your MVC Logic
    7. Automated Front-End Testing
    8. Running the Front-End Tests via Gradle
    9. Summary
  19. CHAPTER 10: Spring Web Flow
    1. Why Web Flow
    2. The Basic Ingredients of a Flow
    3. Configuration
    4. Building Your First Flow
    5. Summary
  20. CHAPTER 11: Building Applications with Spring Web Flow
    1. Important Web Flow Concepts
    2. Enhancing the Bookstore
    3. Setting Variables and Accessing Scopes
    4. Controlling Action Execution
    5. Global Transitions
    6. Subflows
    7. Further Enhancing the Bookstore
    8. Subflow Input/Output Mapping
    9. Creating the Order Process as a Subflow
    10. End State
    11. Summary
  21. CHAPTER 12: Advanced Spring Web Flow
    1. Inheritance
    2. Web Flow Configuration Customizations
    3. Web Flow 1 Migration
    4. Exception Handling
    5. Explicit Form Binding
    6. Web Flow AJAX Support
    7. Flow Execution Listeners
    8. Flow Managed Persistence Context
    9. Summary
  22. CHAPTER 13: Spring Security
    1. Introducing Security
    2. Preparing the Example Application
    3. Securing Our Bookstore
    4. Going to the Database
    5. Securing Our Flows, the Right Way
    6. Transport Security
    7. Localization
    8. Role-Based Access Control
    9. Authorizing Access
    10. Summary
  23. APPENDIX A: Cloud Foundry: Deploying to the Cloud
    1. Cloud Computing
    2. Cloud Foundry
    3. Deploying Our Application
    4. Debugging with Cloud Foundry
    5. Summary
  24. Index
O'Reilly logo

A P P E N D I X  A

Cloud Foundry:Deploying to the Cloud

In this appendix, we will discuss what it takes to get our application to run on a different environment than what we have been running it on so far. Instead of running on any boring old Tomcat instance, we’ll run it in the cloud. But before we get down to it, we’ll talk just a little bit about what the cloud means.

Cloud Computing

You probably haven’t been able to avoid the onslaught of cloud computing in the specialized media. But you may still not have an idea of what cloud computing entails. We’ll try to give a short overview of what cloud computing is about.

It’s hard to give a single definition of what cloud computing is, as it tends to mean different things to different people. ...

The best content for your career. Discover unlimited learning on demand for around $1/day.