Spring in Action, Fifth Edition
Craig Walls
  • MEAP began July 2017
  • Publication in Summer 2018 (estimated)
  • ISBN 9781617294945
  • 500 pages (estimated)
  • printed in black & white


An eBook copy of the previous edition, Spring in Action, Fourth Edition, is included at no additional cost. It will be automatically added to your Manning Bookshelf within 24 hours of purchase.

Spring in Action, 5th Edition is the fully-updated revision of Manning's bestselling Spring in Action. This new edition includes all Spring 5.0 updates, along with new examples on reactive programming, Spring WebFlux, and microservices. You'll also find the latest Spring best practices, including Spring Boot for application setup and configuration.

Table of Contents detailed table of contents

Part 1 : Foundational Spring

1. Booting Spring

1.1. What is Spring?

1.2. Initializing a Spring application

1.2.1. Initializing a Spring project in Spring Tool Suite

1.2.2. Examining the Spring project structure

1.3. Writing a Spring application

1.3.1. Handling web requests

1.3.2. Defining the view

1.3.3. Testing the controller

1.3.4. Building and running the application

1.3.5. Getting to know Spring Boot DevTools

1.3.6. Let’s review

1.4. Surveying the Spring landscape

1.4.1. The Core Spring Framework

1.4.2. Spring Boot

1.4.3. Spring Data

1.4.4. Spring Security

1.4.5. Spring Integration and Spring Batch

1.4.6. Spring Cloud

1.5. Summary

2. Developing web applications

2.1. Displaying information

2.1.1. Establishing the domain

2.1.2. Creating a controller class

2.1.3. Designing the view

2.2. Processing form submission

2.3. Validating form input

2.3.1. Declaring validation rules

2.3.2. Performing validation at form binding

2.3.3. Displaying validation errors

2.4. Working with view controllers

2.5. Choosing a view template library

2.5.1. Using JSP templates with Spring Boot

2.5.2. Caching templates

2.6. Summary

3. Working with data

3.1. Reading and writing data with JDBC

3.1.1. Adapting the domain for persistence

3.1.2. Working with JdbcTemplate

3.1.3. Defining a schema and preloading data

3.1.4. Inserting data

3.2. Persisting data with Spring Data JPA

3.2.1. Adding Spring Data JPA to the project

3.2.2. Annotating the domain as entities

3.2.3. Declaring JPA repositories

3.2.4. Customizing the JPA repositories

3.3. Summary

4. Securing Spring

5. Customizing configuration

Part 2 : Integrated Spring

6. Giving Spring some REST

7. Messaging

8. Processing data in real-time and batch

Part 3 : Reactive Spring

9. Introducing Reactor

10. Working with Spring WebFlux

11. Persisting data reactively

12. Securing reactive Spring

Part 4 : Cloud-Native Spring

13. Discovering microservices

14. Centralizing configuration

15. Handling failure

Part 5 : Deployed Spring

16. Instrumenting for production

17. Deploying Spring applications

About the Technology

Spring Framework has been making Java developers more productive and successful for over a dozen years, and it shows no signs of slowing down! The most-recent version, Spring 5.0, adds numerous features, including better support for reactive applications, cloud-native development, and microservices. Now that Spring Boot is fully integrated into the framework, you can focus on your application's functionality with a significant reduction in the amount of framework-specific configuration and code you need to manage.

About the book

Written in author Craig Walls' famously-clear style, this easy-to follow guide starts with a quick tutorial on Spring's core features. Then, you'll dive straight in as you build a secure database-backed web app. You'll learn integration via a REST API, reactive programming, the pros and cons of microservices, service discovery, deployment, and more. Whether you're just discovering Spring or looking to onboard the latest features, there's no better way to master Spring than with this book!

What's inside

  • Developing reactive applications with Spring
  • Building applications with Spring and Spring Boot
  • Spring MVC for web apps and RESTful web services
  • Writing Spring-enabled data repositories
  • Securing your applications with Spring Security
  • Working with cloud-native apps

About the reader

Written for intermediate Java developers.

About the author

Craig Walls is a software developer at Pivotal. He's a popular author and frequent speaker at user groups and conferences.

Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
MEAP combo $49.99 pBook + eBook + liveBook
MEAP eBook $39.99 pdf + ePub + kindle + liveBook

FREE domestic shipping on three or more pBooks