- 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.
- Objective-C應用開發(fā)全程實錄
- Web開發(fā)的貴族:ASP.NET 3.5+SQL Server 2008
- Java軟件開發(fā)基礎(chǔ)
- Python編程:從入門到實踐
- .NET 3.5編程
- UVM實戰(zhàn)
- 從零開始學Linux編程
- 蘋果的產(chǎn)品設(shè)計之道:創(chuàng)建優(yōu)秀產(chǎn)品、服務和用戶體驗的七個原則
- 詳解MATLAB圖形繪制技術(shù)
- Scratch趣味編程:陪孩子像搭積木一樣學編程
- 移動增值應用開發(fā)技術(shù)導論
- Python硬件編程實戰(zhàn)
- Visual C++程序設(shè)計與項目實踐
- Python數(shù)據(jù)科學實踐指南
- Visual C#(學習筆記)