Spring in Action, Sixth Edition
Craig Walls
  • MEAP began May 2020
  • Publication in Spring 2021 (estimated)
  • ISBN 9781617297571
  • 520 pages (estimated)
  • printed in black & white
free previous edition eBook included
An eBook copy of the previous edition of this book is included at no additional cost. It will be automatically added to your Manning Bookshelf within 24 hours of purchase.
A new edition of the classic bestseller! Spring in Action, 6th Edition covers all of the new features of Spring 5.2 along with examples of reactive programming, Spring Security for REST Services, and bringing reactivity to your databases. You'll also find the latest Spring best practices, including Spring Boot for application setup and configuration.

About the Technology

Spring Framework makes life easier for Java developers. The latest version of Spring brings its productivity-focused approach to microservices, reactive development, and other modern application designs. With Spring Boot now fully integrated, you can start even complex projects with minimal configuration code. And in version 5.2, the new RSocket specification makes your application’s networking symmetrical—perfect for reactive design.

About the book

Spring in Action, 6th Edition guides you through Spring’s core features explained in Craig Walls’ famously clear style. You’ll roll up your sleeves and build a secure database-backed web app step by step. Along the way, you’ll explore reactive programming, microservices, service discovery, RESTful APIs, deployment, and expert best practices. The latest version of a bestseller upgraded for Spring 5.2, this new edition also covers the RSocket specification for reactive networking between applications, and delves deep into essential features of Spring Security. Whether you’re just discovering Spring or leveling up to Spring 5.2, this Manning classic is your ticket!
Table of Contents detailed table of contents

Part 1: Foundational Spring

1 Getting started with Spring

1.1 What is Spring?

1.2 Initializing a Spring application

1.2.1 Initializing a Spring project with 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 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 Working with Spring Data JDBC

3.2.1 Adding Spring Data JDBC to the build

3.2.2 Defining repository interfaces

3.2.3 Annotating the domain for persistence

3.3 Persisting data with Spring Data JPA

3.3.1 Adding Spring Data JPA to the project

3.3.2 Annotating the domain as entities

3.3.3 Declaring JPA repositories

3.3.4 Customizing repositories

3.4 Summary

4 Securing Spring

4.1 Enabling Spring Security

4.2 Configuring Spring Security

4.2.1 In-memory user store

4.2.2 JDBC-based user store

4.2.3 LDAP-backed user store

4.2.4 Customizing user authentication

4.3 Securing web requests

4.3.1 Securing requests

4.3.2 Creating a custom login page

4.3.3 Logging out

4.3.4 Preventing cross-site request forgery

4.4 Knowing your user

4.5 Summary

5 Working with configuration properties

5.1 Fine-tuning autoconfiguration

5.1.1 Understanding Spring’s environment abstraction

5.1.2 Configuring a data source

5.1.3 Configuring the embedded server

5.1.4 Configuring logging

5.1.5 Using special property values

5.2 Creating your own configuration properties

5.2.1 Defining configuration properties holders

5.2.2 Declaring configuration property metadata

5.3 Configuring with profiles

5.3.1 Defining profile-specific properties

5.3.2 Activating profiles

5.3.3 Conditionally creating beans with profiles

5.4 Summary

Part 2 : Integrated Spring

6 Creating REST Services

7 Consuming REST Services

8 Sending Messages Asynchronously

Part 3 : Reactive Spring

9 Introducing Reactor

10 Developing Reactive APIs

11 Persisting Data Reactively

Part 4 : Deployed Spring

13 Working with the Spring Boot Actuator

14 Administering Spring

15 Monitoring Spring with JMX

16 Deploying Spring

What's inside

  • Building reactive applications
  • Relational and NoSQL databases
  • Integrating via HTTP and REST-based services, and sand reactive RSocket services
  • Reactive programming techniques
  • Deploying applications to traditional servers and containers
  • Securing applications with Spring Security
  • Covers Spring 5.2

About the author

Craig Walls is a principal software engineer at Pivotal, a member of the Spring engineering team, a popular author, and a frequent conference speaker.

We interviewed Craig as a part of our Six Questions series. Check it out here.

placing your order...

Don't refresh or navigate away from the page.
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.
print book $44.99 $59.99 pBook + eBook + liveBook
includes previous edition eBook
Additional shipping charges may apply
Spring in Action, Sixth Edition (print book) added to cart
continue shopping
go to cart

eBook $35.99 $47.99 3 formats + liveBook
includes previous edition eBook
Spring in Action, Sixth Edition (eBook) added to cart
continue shopping
go to cart

Prices displayed in rupees will be charged in USD when you check out.
customers also reading

This book 1-hop 2-hops 3-hops

FREE domestic shipping on three or more pBooks