Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Johnson, R.E.: Frameworks = (Components + Patterns). Commun. ACM 40, 39–42 (1997)
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)
Fayad, M., Schmidt, D.C.: Object-oriented application frameworks. Commun. ACM 40, 32–38 (1997)
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)
Antkiewicz, M., Czarnecki, K., Stephan, M.: Engineering of framework-specific modeling languages. IEEE Trans. Software Eng. 35, 795–824 (2009)
Amatriain, X., Arumi, P.: Frameworks generate domain-specific languages: a case study in the multimedia domain. IEEE Trans. Software Eng. 37, 544–558 (2011)
Brugali, D., Sycara, K.: Frameworks and pattern languages: an intriguing relationship. ACM Comput. Surv. 32(1), 2–7 (2000)
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)
Gronback, R.C.: Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit. Addison-Wesley, Upper Saddle River (2009)
Cuadrado, J., Molina, J.: A model-based approach to families of embedded domain-specific languages. IEEE Trans. Software Eng. 35, 825–840 (2009)
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)
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)
Kirk, D., Roper, M., Wood, M.: Identifying and addressing problems in object-oriented framework reuse. Empirical Softw. Eng. 12, 243–274 (2007)
Institute for Software Integrated Systems: Generic Modeling, Environment (2012)
Acknowledgments
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.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Viana, M.C., Penteado, R.A.D., do Prado, A.F. (2013). Building Domain-Specific Modeling Languages for Frameworks. In: Cordeiro, J., Maciaszek, L.A., Filipe, J. (eds) Enterprise Information Systems. Lecture Notes in Business Information Processing, vol 141. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-40654-6_12
Download citation
DOI: https://doi.org/10.1007/978-3-642-40654-6_12
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-40653-9
Online ISBN: 978-3-642-40654-6
eBook Packages: Computer ScienceComputer Science (R0)