- 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.
- PHP動態(tài)網(wǎng)站程序設(shè)計(jì)
- Mastering Visual Studio 2017
- Programming ArcGIS 10.1 with Python Cookbook
- 網(wǎng)頁設(shè)計(jì)與制作教程(HTML+CSS+JavaScript)(第2版)
- 基于差分進(jìn)化的優(yōu)化方法及應(yīng)用
- 老“碼”識途
- Drupal 8 Configuration Management
- 速學(xué)Python:程序設(shè)計(jì)從入門到進(jìn)階
- Mastering Akka
- Visual Basic程序設(shè)計(jì)習(xí)題與上機(jī)實(shí)踐
- Red Hat Enterprise Linux Troubleshooting Guide
- Clojure for Java Developers
- 從零開始學(xué)算法:基于Python
- JBoss AS 7 Development
- C語言程序設(shè)計(jì)