- Mastering Microservices with Java
- Sourabh Sharma
- 174字
- 2021-07-02 13:03:38
Anti-corruption layer
The anti-corruption layer remains part of a domain that interacts with external systems, or their own legacy systems. Here, anti-corruption is the layer that consumes data from external systems and uses external system data in the domain model without affecting the integrity and originality of the domain model.
For the most part, a service can be used as an anti-corruption layer that may use a facade pattern with an adapter and translator to consume external domain data within the internal model. Therefore, your system would always use the service to retrieve the data. The service layer can be designed using the facade pattern. This would make sure that it would work with the domain model to provide the required data in a given format. The service could then also use the adapter and translator patterns that would make sure that, whatever format and hierarchy the data is sent in by external sources, the service would be provided in the desired format and the hierarchy would use adapters and translators.
- Java程序設(shè)計(慕課版)
- 零基礎(chǔ)學Visual C++第3版
- Learning ArcGIS Pro 2
- R語言游戲數(shù)據(jù)分析與挖掘
- STM32F0實戰(zhàn):基于HAL庫開發(fā)
- 嚴密系統(tǒng)設(shè)計:方法、趨勢與挑戰(zhàn)
- 概率成形編碼調(diào)制技術(shù)理論及應(yīng)用
- SAP BusinessObjects Dashboards 4.1 Cookbook
- Working with Odoo
- 組態(tài)軟件技術(shù)與應(yīng)用
- Android傳感器開發(fā)與智能設(shè)備案例實戰(zhàn)
- Visual Basic 6.0程序設(shè)計實驗教程
- 30天學通C#項目案例開發(fā)
- Kohana 3.0 Beginner's Guide
- Learning TypeScript