- Spring 5 Design Patterns
- Dinesh Rajput
- 247字
- 2021-07-08 09:59:35
Summary
After reading this chapter, the reader should now have a good idea about the overview of GOF creational design patterns and its best practices. I highlighted the problems that come from not using design patterns in enterprise application development, and how Spring solves these problems by using the creational design patterns and good practices in the application. In this chapter, I have mentioned only one of the Creational Design pattern categories out of the three main categories of the GOF Design Patterns. The Creational design pattern is used for the creation of object instances, and also applies constraints at the creation time in the enterprise application in a specific manner using the Factory, Abstract Factory, Builder, Prototype, and Singleton patterns. In the next chapter, we will look at the other categories of the GOF Design Patterns-the structural design pattern and the behavioral design pattern. The structural design pattern is used to design the structure of an enterprise application by dealing with the composition of classes or objects so that it reduces the application's complexity and improves the reusability and performance of the application. The Adapter Pattern, Bridge Pattern, Composite Pattern, Decorator Pattern, Facade Pattern, and Flyweight Pattern come under this category of the pattern. The Behavioral design pattern characterizes the ways in which classes or objects interact and distribute responsibility. The patterns that come under this category are specifically concerned with communication between objects. Let's move to complete the remaining GOF patterns in the next chapter.
- Learning Python Web Penetration Testing
- Python編程自學(xué)手冊(cè)
- LabVIEW 2018 虛擬儀器程序設(shè)計(jì)
- 案例式C語(yǔ)言程序設(shè)計(jì)
- 零起步玩轉(zhuǎn)掌控板與Mind+
- 密碼學(xué)原理與Java實(shí)現(xiàn)
- Oracle Exadata性能優(yōu)化
- 看透JavaScript:原理、方法與實(shí)踐
- Spring Cloud、Nginx高并發(fā)核心編程
- 名師講壇:Java微服務(wù)架構(gòu)實(shí)戰(zhàn)(SpringBoot+SpringCloud+Docker+RabbitMQ)
- ArcGIS By Example
- 輕松上手2D游戲開(kāi)發(fā):Unity入門(mén)
- SQL Server 2008 R2數(shù)據(jù)庫(kù)技術(shù)及應(yīng)用(第3版)
- OpenCV Android Programming By Example
- Arduino機(jī)器人系統(tǒng)設(shè)計(jì)及開(kāi)發(fā)