Building Domain-Specific Modeling Languages for Frameworks
Frameworks support application development improving productivity and quality. However, due to the number of hot stops to configure them, reusing frameworks may be a complex task which can make developers misuse them and insert defects in the application code. In order to reduce the complexity of this task, we propose increase its abstraction level by using Domain-Specific Modeling Languages (DSML) based on framework features to model and to generate applications that reuse these frameworks. In our approach, framework features and their hot spots are identified from an analysis of its source code and documentation, and then a DSML and a set of templates are constructed. With this DSML, applications reusing the framework can be modeled and generated, protecting developers from framework complexity and decreasing the time spent on the implementation. We illustrate our approach using GRENJ framework as example.
KeywordsFramework Feature Domain-specific modeling language Template Code generation
We would like to thank the students of Computer Science Course of UFSCar for participating in our study. We also thank CAPES for financial support.
- 2.Abi-Antoun, M.: Making frameworks work: a Project retrospective. In: Companion to the 22nd ACM SIGPLAN conference on Object-Oriented Programming Systems and Applications, OOPSLA ’07, pp. 1004–1018. ACM, New York (2007)Google Scholar
- 8.Durelli, V.H.S., Borges, S.S., Penteado, R.A.D., Viana, M.C.: An iterative reengineering process applying test-driven development and reverse engineering patterns. INFOCOMP J. Comput. Sci. Special Edition(1), 1–8 (2010)Google Scholar
- 9.Gronback, R.C.: Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit. Addison-Wesley, Upper Saddle River (2009)Google Scholar
- 11.Turki, S., Soriano, T., Sghaier, A.: An MDA application for a virtual reality environment. In: IEEE International Conference on Industrial Technology, 2004, IEEE ICIT ’04, vol. 2, pp. 807–812 (2004)Google Scholar
- 12.France, R., Rumpe, B.: Model-driven development of complex software: a research roadmap. In: Future of Software Engineering, 2007, FOSE ’07, pp. 37–54 (2007)Google Scholar
- 14.Institute for Software Integrated Systems: Generic Modeling, Environment (2012)Google Scholar