Metamodels and models are artifacts that must evolve together to maintain consistency and validity within model-driven engineering ecosystems. However, developers often lack control over models created and managed by external clients, making it challenging to ensure model conformance when metamodels evolve in new versions of model-based applications. In this paper, we present an extended version of Edelta, a Java framework and DSL for the co-evolution and refactoring of EMF metamodels and models, which now enables metamodel developers to deliver applications together with migration code that updates clients’ models. Our approach supports complex scenarios involving mutually dependent metamodels and models and provides four strategies for integrating migration logic both within Eclipse-based applications and in standalone REST services. We demonstrate the effectiveness of our solution through two comprehensive examples where we apply the four migration strategies introduced. We describe automated testing methodologies for migrating code and discuss the approach in terms of usability and maintainability. With the proposed approach, clients’ models are transparently and reliably migrated to conform to new metamodel versions, regardless of their version age or the complexity of their dependencies.

Edelta: a versatile framework for migrating clients’ EMF models / Bettini Lorenzo; DiSalle A.; Iovino L.. - In: SOFTWARE AND SYSTEMS MODELING. - ISSN 1619-1366. - STAMPA. - (2026), pp. 1-33. [10.1007/s10270-025-01357-3]

Edelta: a versatile framework for migrating clients’ EMF models

Bettini Lorenzo
;
2026

Abstract

Metamodels and models are artifacts that must evolve together to maintain consistency and validity within model-driven engineering ecosystems. However, developers often lack control over models created and managed by external clients, making it challenging to ensure model conformance when metamodels evolve in new versions of model-based applications. In this paper, we present an extended version of Edelta, a Java framework and DSL for the co-evolution and refactoring of EMF metamodels and models, which now enables metamodel developers to deliver applications together with migration code that updates clients’ models. Our approach supports complex scenarios involving mutually dependent metamodels and models and provides four strategies for integrating migration logic both within Eclipse-based applications and in standalone REST services. We demonstrate the effectiveness of our solution through two comprehensive examples where we apply the four migration strategies introduced. We describe automated testing methodologies for migrating code and discuss the approach in terms of usability and maintainability. With the proposed approach, clients’ models are transparently and reliably migrated to conform to new metamodel versions, regardless of their version age or the complexity of their dependencies.
2026
1
33
Bettini Lorenzo; DiSalle A.; Iovino L.
File in questo prodotto:
File Dimensione Formato  
Edelta a versatile framework for migrating clients_ EMF models - SOSYM.pdf

accesso aperto

Tipologia: Pdf editoriale (Version of record)
Licenza: Open Access
Dimensione 4.35 MB
Formato Adobe PDF
4.35 MB Adobe PDF

I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificatore per citare o creare un link a questa risorsa: https://hdl.handle.net/2158/1472293
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
social impact