DOMICO: Checking conformance between domain models and implementations
Authors:
- 15 October 2023
- journal article
- research article
- Published by Wiley in Software: Practice and Experience
- Vol. 54 (4) , 595-616
Abstract
As a predominant design method for microsservices architecture (MSA), domain‐driven design (DDD) utilizes a series of standard patterns in both models and implementations to effectively support the design of architectural elements. However, an implementation may deviate from its original domain model that uses certain patterns. The deviation between a domain model and its implementation is a type of architectural drift, which needs to be detected promptly. This paper proposes an approach, namely DOMICO, to check the conformance between the domain model and its implementation, by which the conformance is formalized by defining eight common structural patterns of domain modeling and their representations in both models and the corresponding source code. Based on the formalization, our approach can not only identify the discrepancies (e.g., divergence, absence, and modification) with respect to pattern elements, but also detect possible violations of 24 compliance rules imposed by the patterns. To validate DOMICO, we performed a case study to investigate its use in a supply chain project and its performance. The results show that DOMICO can accurately identify 100% inconsistency issues in the cases examined. As the first conformance checking approach for DDD, DOMICO can be integrated into the regular domain modeling process and help ensure the conformity of microservice implementations to models.Keywords
Funding Information
- National Natural Science Foundation of China (62072227, 62202219)
This publication has 29 references indexed in Scilit:
- Architecture consistency: State of the practice, challenges and requirementsEmpirical Software Engineering, 2017
- Model-based incremental conformance checking to enable interactive product configurationInformation and Software Technology, 2016
- Preserving architectural decisions through architectural patternsAutomated Software Engineering, 2014
- MoDisco: A model driven reverse engineering frameworkInformation and Software Technology, 2014
- Agile enterprise software development using domain-driven design and test first2007
- A Comparison of Static Architecture Compliance Checking Approaches2007
- Conducting realistic experiments in software engineering2003
- Empirical studies of software engineering2000
- Software reflexion models1995
- The Case Study as a Serious Research StrategyKnowledge, 1981