Spring 5 Design Patterns

Key FeaturesExplore the Best Practices for designing an applicationManage your code easily with the Dependency Injection pattern of Spring;Understand the benefits that the right design patterns can offer to your toolkitBook DescriptionThis book will take you through Design Patterns and best practices required with the Spring framework. You will learn to use these design patterns to solve common problems when designing an application or system using the Spring Framework. This book will not only take you through the essential GoF Design Patterns but also patterns, considerations, and best practices required at different stages in Application Development.The book begins by giving you 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 does, thus making it easier to manage your code. With practical examples, you will understand how patterns listed under the GoF patterns can be used in your 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 which will look at abstracting the database access. From here, you will be introduced to the MVC patterns and how it treats controllers as Plain Old Java Objects, and build a reactive web application using Spring MVC Pattern. Finally, we will move on to more advanced topics such as Reactive streams and Concurrency.What you will learnDevelop application using dependency injection patternLearn the best practices to design enterprise applicationsExplore Aspect-Oriented Programming relating to transactions, security and caching.Build Web Application using Traditional Spring MVC PatternLearn to Configure Spring using XML, Annotation, and Java.Implement caching to improve performance of an application.Understand Concurrency and handle multiple connections inside a web server.Utilizing Reactive Programming Pattern build Reactive Web Applications.

Author: Dinesh Rajput

Learn more