更新时间:2021-07-08 10:00:27
coverpage
Title Page
Copyright
Spring 5 Design Patterns
Credits
About the Author
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Dedication
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
Getting Started with Spring Framework 5.0 and Design Patterns
Introducing Spring Framework
Simplifying application development using Spring and its pattern
Using the power of the POJO pattern
Injecting dependencies between POJOs
How DI works and makes things easy for development and testing
Using factory helper pattern for dependent components
Using DI pattern for dependent components
Applying aspects for cross cutting concerns
How Spring AOP works
Applying the template pattern to eliminate boilerplate code
The Template Design pattern in Spring
Using a Spring container to manage beans with the Factory pattern
Bean factory
Application contexts
Creating a container with an application context
Life of a bean in the container
Spring modules
Core Spring container
Spring's AOP module
Spring DAO - data access and integration
Spring's ORM
Spring web MVC
New features in Spring Framework 5.0
Summary
Overview of GOF Design Patterns - Core Design Patterns
Introducing the power of design patterns
Common GoF Design Pattern overview
Creational design patterns
Factory design pattern
Implementing the Factory design pattern in Spring Framework
Sample implementation of the Factory design pattern
Abstract factory design pattern
Common problems where you should apply the Abstract factory design pattern
Implementing the Abstract factory design pattern in the Spring Framework
Sample implementation of the Abstract Factory design pattern
Singleton design pattern
Common problems where you should apply Singleton pattern
Singleton design pattern implementation in the Spring Framework
Sample implementation of the Singleton design pattern
Prototype design pattern
Benefits of the Prototype design pattern
UML class structure
Sample implementation of the Prototype design pattern
Builder design pattern
Benefits of the Builder pattern:
Implementing the Builder pattern in the Spring Framework
Common problems where you should apply Builder pattern
Sample implementation of the Builder design pattern
Consideration of Structural and Behavioral Patterns
Examining the core design patterns
Structural design patterns
The adapter design pattern
Benefits of the adapter pattern
Common requirements for the adapter pattern
Implementation of the adapter design pattern in the Spring Framework
Sample implementation of the adapter design pattern
The Bridge design pattern
Benefits of the Bridge pattern
Common problems solved by the Bridge design pattern
Implementing the Bridge design pattern in the Spring Framework
Sample implementation of the Bridge design pattern
Composite design pattern
Common problems solved by the composite pattern
UML structure of the Composite design pattern
Sample implementation of the Composite design pattern
Decorator design pattern
Common problems solved by the Decorator pattern
Implementing the Decorator pattern
Decorator design pattern in the Spring Framework
Facade Design Pattern
Knowing when to use the Facade Pattern
Implementing the Facade design pattern
The UML structure for the Facade design pattern
Facade Pattern in the Spring Framework
Proxy design pattern