Jump to ratings and reviews
Rate this book

Spring 5 Design Patterns

Rate this book

Learn various design patterns and best practices in Spring 5 and use them to solve common design problems

Key Features Explore best practices for designing an application Manage your code easily with Spring's Dependency Injection pattern Understand the benefits that the right design patterns can offer your toolkit Book Description

Design patterns help speed up the development process by offering well tested and proven solutions to common problems. These patterns coupled with the Spring framework offer tremendous improvements in the development process.

The book begins with an overview of Spring Framework 5.0 and design patterns. You will understand the Dependency Injection pattern, which is the main principle behind the decoupling process that Spring performs, thus making it easier to manage your code. You will learn how GoF patterns can be used in Application Design. You will then learn to use Proxy patterns in Aspect Oriented Programming and remoting. Moving on, you will understand the JDBC template patterns and their use in abstracting database access. Then, you will be introduced to MVC patterns to build Reactive web applications. Finally, you will move on to more advanced topics such as Reactive streams and Concurrency.

At the end of this book, you will be well equipped to develop efficient enterprise applications using Spring 5 with common design patterns

What you will learn Develop applications using dependency injection patterns Learn best practices to design enterprise applications Explore Aspect-Oriented Programming relating to transactions, security, and caching. Build web applications using traditional Spring MVC patterns Learn to configure Spring using XML, annotations, and Java. Implement caching to improve application performance. Understand concurrency and handle multiple connections inside a web server. Utilizing Reactive Programming Pattern to build Reactive web applications. Table of Contents Overview of Spring Framework 5.0 and Used Design Patterns Best Practices with Consideration of Patterns for Spring Application Consideration of Structural and Behavioural Patterns into Spring Wiring beans using Dependency Injection Pattern Understanding Bean Life cycle and Used Patterns Spring Aspect Oriented Programming with Proxy Pattern Accessing Database with spring and JDBC template patterns Accessing Database with spring and ORM template patterns Improving performance of Application using Caching patterns Implementing MVC pattern in a Web Application with Spring Using Reactive Pattern in Programming Implementing Concurrency Patterns

396 pages, Paperback

Published October 1, 2017

23 people are currently reading
44 people want to read

About the author

Dinesh Rajput

16 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
10 (31%)
4 stars
6 (18%)
3 stars
7 (21%)
2 stars
4 (12%)
1 star
5 (15%)
Displaying 1 - 3 of 3 reviews
Profile Image for Jakub Šimek.
15 reviews3 followers
November 21, 2018
This was a weird one. From the strange hodgepodge of topics to the explanations themselves, it was hard to believe I'm not reading someone's blog or a self published book.

There were typos, errors, bad practices... like non-synchronized access to a lazy singleton instance after talking about how great singletons are in multi-threaded environment, or using strings instead of an enum in the factory example and a myriad of others.

Some of the examples meant to demonstrate given patterns felt completely nonsensical. The text is not much better, often being rather confusing and turning into a weird word salad. I understand there's some language barrier going on and I'm not a native speaker either, but this is where a proper editor was supposed to step in. I've heard that this is a step Packt loves to skip, though.

If you must find a use for this book, perhaps it could serve as a catalogue of things you should learn elsewhere.

Also what's up with fakespot putting this book at 100% untrustworthy reviews?
Profile Image for Thomas Kabassis.
2 reviews
January 25, 2020
This book is OK as a refresher. Other than that, I must mention that the book is not concise and is repetitive to an annoying degree. Finally, it is full of grammatical errors (literally dozens).
6 reviews
September 15, 2020
Great book which explains basic concepts in clear manner. However, I would like to see more code examples on "Behavioral pattern" chapter.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.