Spring 5 Design Patterns
內容描述
Key FeaturesExplore best practices for designing an applicationManage your code easily with Spring's Dependency Injection patternUnderstand the benefits that the right design patterns can offer your toolkitBook DescriptionDesign 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 patternsWhat you will learnDevelop applications using dependency injection patternsLearn best practices to design enterprise applicationsExplore Aspect-Oriented Programming relating to transactions, security, and caching.Build web applications using traditional Spring MVC patternsLearn 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.About the AuthorDinesh Rajput is the chief editor of a website Dineshonjava, a technical blog dedicated to the Spring and Java technologies. It has a series of articles related to Java technologies. Dinesh has been a Spring enthusiast since 2008 and is a Pivotal Certified Spring Professional, an author, and a blogger. He has more than 10 years of experience with different aspects of Spring and Java design and development. His core expertise lies in the latest version of Spring Framework, Spring Boot, Spring Security, creating REST APIs, Microservice Architecture, Reactive Pattern, Spring AOP, Design Patterns, Struts, Hibernate, Web Services, Spring Batch, Cassandra, MongoDB, and Web Application Design and Architecture.Table of ContentsOverview of Spring Framework 5.0 and Used Design PatternsBest Practices with Consideration of Patterns for Spring ApplicationConsideration of Structural and Behavioural Patterns into SpringWiring beans using Dependency Injection PatternUnderstanding Bean Life cycle and Used PatternsSpring Aspect Oriented Programming with Proxy PatternAccessing Database with spring and JDBC template patternsAccessing Database with spring and ORM template patternsImproving performance of Application using Caching patternsImplementing MVC pattern in a Web Application with SpringUsing Reactive Pattern in ProgrammingImplementing Concurrency Patterns