Jump to ratings and reviews
Rate this book

Spring 6 Recipes: A Problem-Solution Approach to Spring Framework

Rate this book
This in-depth Spring-based Java developer code reference has been updated and now solves many of your Spring Framework 6 problems using reusable, complete and real-world working code examples. Spring 6 Recipes (5th Edition) now includes Spring Native which speeds up your Java-based Spring Framework built enterprise, native cloud, web applications and microservices. It also has been updated to now include Spring R2DBC for Reactive Relational Database Connectivity, a specification to integrate SQL databases, like PostgreSQL, MySQL and more, using reactive drivers.
Furthermore, this book includes additional coverage of WebFlux for more reactive Spring web applications. Reactive programming allows you to build systems that are resilient to high load, especially common in the more complex enterprise, native cloud applications that Spring Framework lets you build. This updated edition also uses code snippets and examples based on newest available standard long term support release of Java. When you start a new project, you’ll be able to copy the code and configuration files from this book, and then modify them for your specific Spring Framework-based application needs. This can save you a great deal of work over creating a project from scratch.
This powerful code reference is a "must have" for your print or digital library. This developer cookbook comes with accompanying source code that is freely available on GitHub under latest Creative Commons open source licensing.
What You'll Learn Who This Book Is For
This book is for experienced Java programmers, software developers with experience using the Spring Framework.

788 pages, Paperback

Published April 25, 2023

3 people are currently reading
4 people want to read

About the author

Marten Deinum

14 books

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
0 (0%)
4 stars
0 (0%)
3 stars
1 (100%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Mihail Dilion.
20 reviews4 followers
March 6, 2024
First of all person who will pick this book have to understand that this is a Spring Framework book not Spring Boot , this fact mean no auto configuration every bean should be declared in configuration classes to be able to use, only toward the end author start using @Enable.. annotations that do some under the hood magic.

Initially when I start reading it I was hopping that author will describe and investigate things more in depth, from my point of view almost all topics where extremely superficial even if book is ~750 pages long some fragments are exact copy paste like section describing simple Datasources and Reactive one

First half or even more of the book is to much focused on pure MVC part of framework use of Model and JSP's , this is unnecessary in a Spring 6 book. I can understand some minor references and example but half of the book is too much.

Also a lot of XML bean configuration, examples chapter 6 dedicated to Data Access and Datasources, is full of irrelevant XML configs ( why ??? ) and focused on database interaction approaches that are not used (from my experience) in real world development , I understood the intention to show evolution of solutions from direct Datasource getConnection() and commit() to Spring Data Jpa but author focused to much on old approach and to little on new one.

Chapter 7 related to transaction management also was not informative a lot of pages regarding Datasorce and DataSourceTransactionManager configuration. On the bright side a decent explanation and examples of transaction propagation and isolation properties , but on the same time almost no relevant explanation how @Transactional annotation work under the hood (proxy).

Security Chapter is heavily MVC oriented and superficial.

Chapter regarding Spring Batch was interesting previously didn't had any experience with it but I got the main ideas and way of use.

Other thing that disappointed me is how little Spring 6 related information was presented in this book, major feature that was introduced in Spring 6 is Spring Observability on this topic book have no more than 7 pages of superficial information, is not even a chapter !!!

What was great in this book was first chapter regarding Spring Core and AOP concepts it got me hooked up and gave some hopes, good explanation with a lot of examples on AOP , I implemented all of them just to understand it better and it was great also ApplicationEvents communication was decent.

Overall I believe there a better books on this topics Is not waste of time (I try to convince myself) but second time I would not pick it.

3 out of 5, maybe even 2.5
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.