Building Domain-Specific Modeling Languages for Frameworks

  • Matheus C. Viana
  • Rosângela A. D. Penteado
  • Antônio F. do Prado
Conference paper
Part of the Lecture Notes in Business Information Processing book series (LNBIP, volume 141)


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.


Framework 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.


  1. 1.
    Johnson, R.E.: Frameworks = (Components + Patterns). Commun. ACM 40, 39–42 (1997)CrossRefGoogle Scholar
  2. 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
  3. 3.
    Fayad, M., Schmidt, D.C.: Object-oriented application frameworks. Commun. ACM 40, 32–38 (1997)CrossRefGoogle Scholar
  4. 4.
    Oliveira, T.C., Alencar, P.S.C., Lucena, C.J.P.D., Cowan, D.D.: RDL: a language for framework instantiation representation. J. Syst. Softw. 80, 1902–1929 (2007)CrossRefGoogle Scholar
  5. 5.
    Antkiewicz, M., Czarnecki, K., Stephan, M.: Engineering of framework-specific modeling languages. IEEE Trans. Software Eng. 35, 795–824 (2009)CrossRefGoogle Scholar
  6. 6.
    Amatriain, X., Arumi, P.: Frameworks generate domain-specific languages: a case study in the multimedia domain. IEEE Trans. Software Eng. 37, 544–558 (2011)CrossRefGoogle Scholar
  7. 7.
    Brugali, D., Sycara, K.: Frameworks and pattern languages: an intriguing relationship. ACM Comput. Surv. 32(1), 2–7 (2000)CrossRefGoogle Scholar
  8. 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. 9.
    Gronback, R.C.: Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit. Addison-Wesley, Upper Saddle River (2009)Google Scholar
  10. 10.
    Cuadrado, J., Molina, J.: A model-based approach to families of embedded domain-specific languages. IEEE Trans. Software Eng. 35, 825–840 (2009)CrossRefGoogle Scholar
  11. 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. 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
  13. 13.
    Kirk, D., Roper, M., Wood, M.: Identifying and addressing problems in object-oriented framework reuse. Empirical Softw. Eng. 12, 243–274 (2007)CrossRefGoogle Scholar
  14. 14.
    Institute for Software Integrated Systems: Generic Modeling, Environment (2012)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Matheus C. Viana
    • 1
  • Rosângela A. D. Penteado
    • 1
  • Antônio F. do Prado
    • 1
  1. 1.Computing DepartmentFederal University of São CarlosSão CarlosBrazil

Personalised recommendations