Jump to ratings and reviews
Rate this book

Spring Boot in Practice

Rate this book
Spring Boot in Practice covers dozens of handy Spring Boot development techniques, from basic functions to hidden features you probably didn’t even know existed. Each recipe is built around a real-world problem, complete with a full solution and thoughtful discussion.

You’ll work your way from fundamentals to advanced functionalities as you take deep dives into auto-configuration, security implementation, and even support for reactive application development. Learn how to work with Spring Boot and Kotlin, handling connections for multiple platforms, and how Spring Boot can simplify building microservices and APIs. You’re sure to keep this practical book on hand as a reference as you build your next Spring Boot apps.

480 pages, ebook

Published July 12, 2022

10 people are currently reading
29 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
8 (57%)
4 stars
4 (28%)
3 stars
2 (14%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 3 of 3 reviews
1 review
December 27, 2022
All the basic concepts of Spring Boot have been explained in a very clear manner. Even those who have been using spring for a very long time, this book serves as a primer and at the same time provides in depth information for advanced level concepts. A very good resource for beginners or medium level application developers to understand the various components of spring and how and when they can be used.
I have been exposed to spring boot projects configuration setup in several different ways by developers and this book has covered it all.
I was able to use the concepts explained in the book at my work by referring to the book when needed.

Concepts are explained in a progressive manner so that concepts in earlier chapters can be used later


Learned about various locations where @Configurationproperties can be used. Although a slight disconnect between what is specified in the listing versus the explanation of the listing, true to the name, this book is truly worth and was able to use the code snippets straight out. Companion links to the GitHub source code in the livebook is very helpful.

True to its name, I was able to use several of the code snippets straight out of the book

At times the listings are missing a line or two of unimportant statements such as imports, I am nitpicking, but the book does a good job overall of explaining the concepts. Listing 2.36 it should be written more consistently, it uses
isEmpty check for violations but not for the non empty ones.

Approaches suitable to the business need have been explained in a ready to use manner. Seemingly difficult concepts have been explained pretty well both by way of uml diagrams and related explanations

Third chapter explains with good examples the pros and cons of using criteria api vs query dsl. While maintaining hibernate applications the verbosity of criteria api for the code it generates is a little unwieldy.


Chapter 4 -- Explains the concepts of configuration for various environments pretty well. Deep dive into the spring auto configure capabilities and how to use it for various scenarios of datasource combination(both include and exclude), customize failure analyzer, details on actuator endpoints is very insightful.

Chapter 5 -- A very detailed explanation of foundational and advanced how to use several Spring Security features/classes to make the applications secure. to configuration using spring security and the filterchain.

Chapter 5 -- Explains how to enable and use advanced security features of Spring Security features

Chapter 6 -- A very comprehensive and exhaustive coverage with relevant code examples for user authentication and the various classes and built-in events that spring security provides, not loosing sight of user experience.

Chapter 7 -- End to End explanation of the REST API flow with relevant examples in the context of Spring Boot provides a fine grained view of the artifacts involved in the flow.
Coverage of the spring mock mvc testing framework to test the RESTful API with out the heavy lifting has been explained very well.

Chapter 8 -- Was not aware that Spring supports non blocking asynchronous model using webflux without having to use threads. For Project Reactor based on reactive principles, author explains Observer Pattern and correlates with the non blocking asynchronous mode of communication with the backend explaining the two approaches viz. annotation based and functional end points approach contrasting it against the spring MVC model using Spring Webflux.

Chapter 9 -- For folks who are already familiar with Spring Boot this chapter is like a quick overview with details and easy to follow.

My thanks to Manning Publications for sending a review copy.
1 review
Currently reading
October 5, 2022
Most updated and comprehensive Spring Boot book.
Compact and well organized.
I strongly recommend a copy to you.
Spring is a topic rapidly upgrading, and I start to look for Somnath Musib's nest Spring Boot book.
Profile Image for Andres Sacco.
28 reviews5 followers
June 2, 2023
This book is an incredible way to learn Spring Boot, not in the common way where you can see the explanation about one topic; the author emphasizes showing a problem and the possible solution to that problem.

One of the book's highlights is the explanation of some advanced topics like the use of GraphQL and the native compilation of the images. Another highlight is the mention of Kotlin in the book because too many companies use it.

In my different talks at the conference, I mentioned this book as an excellent way to learn about Spring Boot.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.