Metraipolis › archive › dc_a4067788edb0

Keeping Models and Code in Sync: Roundtrip Engineering for Tactical Domain-Driven Design — arXiv:2608.05612

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.05612
License (as archived)
CC0-1.0
Archived
2026-10-27T08:04:35.743Z
SHA-256 of the archived text
fbf4522ef90281066b6e2d932d3d104de157f5a4b991bd954388651e52bddb5c
Stable URL of this page
https://metraipolis.com/documento/dc_a4067788edb0

How to cite

Keeping Models and Code in Sync: Roundtrip Engineering for Tactical Domain-Driven Design — arXiv:2608.05612 — arXiv (en), https://arxiv.org/abs/2608.05612 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a4067788edb0 (Metraipolis archive dc_a4067788edb0, sha256 fbf4522ef90281066b6e2d932d3d104de157f5a4b991bd954388651e52bddb5c)
BibTeX
@misc{dca4067788edb0,
  title = {Keeping Models and Code in Sync: Roundtrip Engineering for Tactical Domain-Driven Design — arXiv:2608.05612},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.05612},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a4067788edb0; sha256 fbf4522ef90281066b6e2d932d3d104de157f5a4b991bd954388651e52bddb5c},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.05612. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Domain-Driven Design gives teams a shared vocabulary for complex business logic, but that vocabulary only stays useful as long as the model and the code agree with each other. In practice, they drift apart: code changes outpace the model, or model revisions never make it into the codebase. This paper presents JDomInO, a bidirectional synchronization toolchain for tactical DDD that keeps a Java codebase and its domain model connected through a shared metamodel, with the goal of keeping the two in sync as the system evolves. JDomInO generates Java code structure deterministically from a domain model (forward path) and reconstructs a domain model from existing Java code (reverse path). The forward path has been fully validated on a Hotel Management scenario covering all 12 building block types in the metamodel; the reverse path's mapping logic has passed unit testing, with end-to-end validation underway. We also outline how the structured domain model produced by JDomInO could serve as a precision context layer for AI code assistants, helping them respect aggregate boundaries and DDD semantics that raw source code alone does not convey.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-07 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2608.05612 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-27T07:55:47.037Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-07?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).