On A-posteriori Integration of Ecore Models and Hand-written Java Code

Thomas Buchmann, Felix Schwägerl

Abstract

Model-driven software engineering emphasizes using models as primary development artefacts. In many cases, the static structure of a software system can be automatically generated from static models such as class diagrams. However, hand-written source code is still necessary, either for specifying method bodies or for integrating the generated code with already existing artefacts or frameworks. In this paper, we present a concept and the corresponding technical solution, which allow to lift up hand-written code for method bodies to the model level and tightly integrate it with the Ecore model. Furthermore, we demonstrate the feasibility of our approach with the help of a concrete use case.

References

  1. Arendt, T., Biermann, E., Jurack, S., Krause, C., and Taentzer, G. (2010). Henshin: Advanced concepts and tools for in-place EMF model transformations. In Petriu, D. C., Rouquette, N., and Haugen, Ø., editors, Proceedings 13th International Conference on Model Driven Engineering Languages and Systems (MODELS 2010), Part I, volume 6394, pages 121-135, Oslo, Norway. Springer Verlag.
  2. Bruneliere, H., Cabot, J., Jouault, F., and Madiot, F. (2010). Modisco: a generic and extensible framework for model driven reverse engineering. In Proceedings of the IEEE/ACM international conference on Automated software engineering, ASE 7810, pages 173- 174, New York, NY, USA. ACM.
  3. Buchmann, T. and Schwägerl, F. (2012). FAMILE: tool support for evolving model-driven product lines. In Störrle, H., Botterweck, G., Bourdells, M., Kolovos, D., Paige, R., Roubtsova, E., Rubin, J., and Tolvanen, J.-P., editors, Joint Proceedings of co-located Events at the 8th European Conference on Modelling Foundations and Applications, CEUR WS, pages 59-62, Building 321, DK-2800 Kongens Lyngby. Technical University of Denmark (DTU).
  4. Buchmann, T. and Schwägerl, F. (2014). A model-driven approach to the development of heterogeneous software product lines. In Mannaert, H., Lavazza, L., Oberhauser, R., Kajko-Mattsson, M., and Gebhart, M., editors, Proceedings of the Ninth International Conference on Software Engineering Advances (ICSEA 2014), pages 300-308, Nice, France. ICSEA.
  5. Buchmann, T., Westfechtel, B., and Winetzhammer, S. (2011). MODGRAPH - A Transformation Engine for EMF Model Transformations. In Proceedings of the 6th International Conference on Software and Data Technologies, pages 212 - 219.
  6. Buchmann, T., Westfechtel, B., and Winetzhammer, S. (2012). The added value of programmed graph transformations - a case study from software configuration management. In Schürr, A., Varro, D., and Varro, G., editors, Applications of Graph Transformations with Industrial Relevance (AGTIVE 2011), Budapest, Hungary. Presented at AGTIVE 2011, currently under review for publication in the post-proceedings.
  7. Clements, P. and Northrop, L. (2001). Software Product Lines: Practices and Patterns. Boston, MA.
  8. Frankel, D. S. (2003). Model Driven Architecture: Applying MDA to Enterprise Computing. Wiley Publishing, Indianapolis, IN.
  9. Giese, H., Hildebrandt, S., and Seibel, A. (2009). Improved flexibility and scalability by interpreting story diagrams. ECEASST, 18.
  10. Kang, K. C., Cohen, S. G., Hess, J. A., Novak, W. E., and Peterson, A. S. (1990). Feature-oriented domain analysis (FODA) feasibility study. Technical Report CMU/SEI-90-TR-21, Carnegie-Mellon University, Software Engineering Institute.
  11. OMG (2011). Meta Object Facility (MOF) Core. Object Management Group, Needham, MA, formal/2011-08- 07 edition.
  12. Steinberg, D., Budinsky, F., Paternostro, M., and Merks, E. (2009). EMF Eclipse Modeling Framework. The Eclipse Series. Boston, MA, 2nd edition.
  13. Völter, M., Stahl, T., Bettin, J., Haase, A., and Helsen, S. (2006). Model-Driven Software Development: Technology, Engineering, Management. John Wiley & Sons.
Download


Paper Citation


in Harvard Style

Buchmann T. and Schwägerl F. (2015). On A-posteriori Integration of Ecore Models and Hand-written Java Code . In Proceedings of the 10th International Conference on Software Paradigm Trends - Volume 1: ICSOFT-PT, (ICSOFT 2015) ISBN 978-989-758-115-1, pages 95-102. DOI: 10.5220/0005552200950102


in Bibtex Style

@conference{icsoft-pt15,
author={Thomas Buchmann and Felix Schwägerl},
title={On A-posteriori Integration of Ecore Models and Hand-written Java Code},
booktitle={Proceedings of the 10th International Conference on Software Paradigm Trends - Volume 1: ICSOFT-PT, (ICSOFT 2015)},
year={2015},
pages={95-102},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005552200950102},
isbn={978-989-758-115-1},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 10th International Conference on Software Paradigm Trends - Volume 1: ICSOFT-PT, (ICSOFT 2015)
TI - On A-posteriori Integration of Ecore Models and Hand-written Java Code
SN - 978-989-758-115-1
AU - Buchmann T.
AU - Schwägerl F.
PY - 2015
SP - 95
EP - 102
DO - 10.5220/0005552200950102