You are previewing Pivotal Certified Spring Web Application Developer Exam: A Study Guide.
O'Reilly logo
Pivotal Certified Spring Web Application Developer Exam: A Study Guide

Book Description

Prepare for the Pivotal Certified Spring Web Application Developer exam and learn about Spring MVC DispatcherServlet configuration, Spring MVC programming model essentials, Spring MVC views and form processing, Spring Web Flow essentials, and Spring Web Flow actions and configuration. The Pivotal Certified Spring Web Application Developer Exam: A Study Guide is the ideal preparation for the exam and after reading and using it, you'll be able to pass and become a certified Spring Web Developer.

When you become a Pivotal Certified Spring Web Application Developer, you'll receive one of the most valuable credentials available in enterprise Java. Achieving this certification demonstrates your ability to apply Spring's web projects to develop real-world Java web applications and validates your familiarity with Spring Web.

Table of Contents

  1. Cover
  2. Title
  3. Copyright
  4. Dedication
  5. Contents at a Glance
  6. Contents
  7. About the Author
  8. About the Technical Reviewer
  9. Acknowledgments
  10. Introduction
  11. Chapter 1: Introduction
    1. Spring and What It Does
    2. The Focus of this Study Guide
    3. Who Should Use this Study Guide
    4. About the Spring Web Certification Exam
    5. How to Use this Study Guide
      1. How this Book Is Structured
      2. How Each Chapter Is Structured
      3. Conventions
      4. Downloading the Code
      5. Contacting the Author
    6. Recommended Development Environment
      1. Recommended Build Tools
      2. Recommended IDE
      3. The Project Sample
  12. Chapter 2: Spring Fundamentals
    1. The Basics
    2. The Spring Core Container
    3. Spring Configuration
      1. XML
      2. Annotations
      3. Mixed Approach
    4. The Beans
      1. Lifecycle and Instantiation
      2. Bean Scopes
      3. Accessing Beans
    5. Spring AOP
    6. Testing Spring Applications
    7. Summary
    8. Quick Quiz
    9. Practical Exercise
  13. Chapter 3: Spring MVC
    1. MVC Basics
    2. Configuring MVC
      1. XML Configuration
      2. Configuration Using Annotations
      3. Configuration Without Using web.xml
    3. MVC Components
      1. Infrastructure Beans
      2. User-Provided Components
    4. View Technologies
      1. Tiles Layouts
      2. Thymeleaf
    5. Forms
      1. Data Formatting
      2. Data Binding
      3. Data Validation
      4. Managing the Form Object
    6. Summary
    7. Quick Quiz
    8. Practical Exercise
  14. Chapter 4: Spring Portlets
    1. Portlet Basics
    2. Configuration
    3. The XML Part of the Configuration
    4. The Annotation Part of the Configuration
    5. Configuration Details and Recommendations
    6. The Development and Deployment of a Portlet Application
      1. Download, Install, Start, and Configure Liferay
    7. Summary
  15. Chapter 5: Spring RESTful Services
    1. Core REST Concepts
    2. HATEOAS
    3. Advantages of REST
    4. RESTful Applications Using Spring MVC
      1. RESTful Clients with Spring
      2. Asynchronous REST Calls
      3. Implementing REST with Spring MVC
      4. Asynchronous REST Services Using @Async Annotated Methods
      5. Using Spring HATEOAS
    5. Summary
    6. Quick Quiz
    7. Practical Exercise
  16. Chapter 6: Spring Web with AJAX
    1. What Is AJAX?
    2. Making AJAX Requests
    3. Introducing jQuery
      1. jQuery HTML DOM Manipulation
      2. jQuery AJAX Calls
    4. Spring MVC, AJAX, and jQuery
      1. Using REST-Style Remoting with JSON
    5. Custom Tags
    6. Summary
    7. Quick Quiz
    8. Practical Exercise
  17. Chapter 7: Spring Web Flow
    1. What Is a Flow?
    2. Web Flow Architecture
    3. Web Flow Internal Logic
    4. Configuration and Infrastructure Beans
      1. Configuration Using XML
      2. Configuration Using Annotations
    5. Create a Flow
      1. Flow Definition
      2. Action States
    6. Decision States
    7. Exception Handling
    8. Subflows
    9. Flow Definition Inheritance
    10. Securing Web Flows
      1. Introduction to Spring Security
      2. Why Spring Security Is Awesome
      3. Spring Security XML Configuration
      4. Spring Security Java Configuration
      5. Securing Flow Definitions
    11. Summary
    12. Quick Quiz
    13. Practical Exercise
  18. Chapter 8: Spring Boot and WebSocket
    1. What Is Spring Boot?
    2. Usage and Configuration
      1. Customizing Spring Boot
      2. Importing Additional Configuration Elements
      3. Running Spring Boot Applications
      4. Testing Spring Boot Applications
    3. WebSocket Introduction
    4. Spring WebSocket Implementation
    5. Spring WebSocket Configuration
    6. WebSocket Client Application
      1. Configure the Server Application to Send Scheduled Messages
      2. Monitoring and Debugging
  19. Appendix: Resources and Quiz Answers
    1. Study Guide Projects
      1. Gradle Configuration Explained
      2. Building and Troubleshooting
      3. Deploy on Apache Tomcat
    2. Quiz Answers
      1. Quiz Solution for Chapter 2
      2. Quiz Solution for Chapter 3
      3. Quiz Solution for Chapter 5
      4. Quiz Solution for Chapter 6
      5. Quiz Solution for Chapter 7
  20. Index