Towards roundtrip engineering - A template-based reverse engineering approach

18Citations
Citations of this article
29Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Model driven development suggests to make models the main artifact in software development. To get executable models in most cases code generation to a "traditional" programming language like e.g. Java is used. To obtain customizable code generation template-based approaches are applied, commonly. So, to adapt the generated code to platform specific needs templates are modified by the user. After code generation, in real world application the generated code is often changed e.g. by refactorings. To keep the code and the model synchronous reverse engineering is needed. Many approaches use a Java parser and a mapping from the Java parse tree to the UML model for this task. This causes maintenance issues since every change to a template potentially results in a change to this parse tree - model mapping. To tackle this maintenance problem our solution does not use a common language parser but uses the templates as a grammar to parse the generated code, instead. This way changes to the templates are automatically taken into account in the reverse engineering step. Our approach has been implemented and tested in the Fujaba CASE tool as a part of the model and template-based code generator CodeGen2 [11]. © 2008 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Bork, M., Geiger, L., Schneider, C., & Zündorf, A. (2008). Towards roundtrip engineering - A template-based reverse engineering approach. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 5095 LNCS, pp. 33–47). Springer Verlag. https://doi.org/10.1007/978-3-540-69100-6_3

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free