A Model-based Approach for Reusing Crosscutting Frameworks

Thiago Gottardi, Oscar López Pastor, Valter Vieira de Camargo


The development of large enterprise information systems usually encompass the adoption of many infrastructure frameworks, e.g. persistence, authentication, concurrency and distribution. Although reusing these functionalities improve the team productivity, the reuse process is still heavily based on writing source code. However, reusing these frameworks in code-level prevents the reuse process to be initiated since earlier development phases. Crosscutting Framework are aspect-oriented frameworks which modularize a single crosscutting concern, e.g. persistence, security and distribution. This allows their reuse in different contexts. As many conventional frameworks, their reuse process is also heavily based on code editing. In this project, the aim is to raise the abstraction level of the reuse process by means of a model-driven approach. A tool was created to support the process, which was successfully evaluated in an empirical study. In our study, the tool usage has reduced the reuse process time by more than 97 percent.


  1. Bynens, M., Landuyt, D., Truyen, E., and Joosen, W. (2010). Towards reusable aspects: The mismatch problem. In Workshop on Aspect, Components and Patterns for Infrastructure Software (ACP4IS'10), pages 17-20.
  2. Camargo, V. and Masiero, P. (2005). Frameworks orientados a aspectos. In Anais Do 19 Simpsio Brasileiro De Engenharia De Software (SBES'2005), UberlndiaMG, Brasil, Outubro.
  3. Camargo, V. V. and Masiero, P. C. (2008). A pattern to design crosscutting frameworks. In Proceedings of the 2008 ACM symposium on Applied computing, SAC 7808, pages 759-764, New York, NY, USA. ACM.
  4. Cechticky, V., Chevalley, P., Pasetti, A., and Schaufelberger, W. (2003). A generative approach to framework instantiation. In Proceedings of the 2nd international conference on Generative programming and component engineering, GPCE 7803, pages 267-286, New York, NY, USA. Springer-Verlag New York, Inc.
  5. Cunha, C., Sobral, J., and Monteiro, M. (2006). Reusable aspect-oriented implementations of concurrency patterns and mechanisms. In Aspect-Oriented Software Development Conference (AOSD'06), Bonn, Germany.
  6. Eclipse Consortium (2011). Graphical Modeling Framework, version 1.5.0. http://www.eclipse.org/ modeling/gmp/.
  7. Fayad, M. and Schmidt, D. C. (1997). Object-oriented application frameworks. Commun. ACM, 40:32-38.
  8. France, R. and Rumpe, B. (2007). Model-driven development of complex software: A research roadmap. In 2007 Future of Software Engineering, FOSE 7807, pages 37-54, Washington, DC, USA. IEEE Computer Society.
  9. Huang, M., Wang, C., and Zhang, L. (2004). Towards a reusable and generic aspect library. In Workshop of the Aspect Oriented Software Development Conference at AOSDSEC'04, Lancaster, UK.
  10. Kiczales, G., Hilsdale, E., Hugunin, J., Kersten, M., Palm, J., and Griswold, W. G. (2001). An overview of AspectJ. pages 327-353. Springer-Verlag.
  11. Kiczales, G., Lamping, J., Mendhekar, A., Maeda, C., Lopes, C., marc Loingtier, J., and Irwin, J. (1997). Aspect-oriented programming. In ECOOP. SpringerVerlag.
  12. Kulesza, U., Alves, E., Garcia, R., Lucena, C. J. P. D., and Borba, P. (2006). Improving extensibility of objectoriented frameworks with aspect-oriented programming. In Proc. of the 9th Intl Conf. on Software Reuse (ICSR'06), pages 231-245.
  13. Lazanha, R., Oliveira, A., Penteado, R., Ramos, R., Pastor, O., and Camargo, V. (2010). Uma arquitetura de referncia baseada em papis para frameworks transversais de persistncia: Uma anlise quantitativa. In XXXVI Clei - Conferncia Latino-Americana de Informtica, Assuno, Paraguay.
  14. Mortensen, M. and Ghosh, S. (2006). Creating pluggable and reusable non-functional aspects in AspectC++.
  15. Free Software Foundation, Inc. (2011). R. http://www.rproject.org/.
  16. Oliveira, T. C., Alencar, P., and Cowan, D. (2011). Reusetool-an extensible tool support for objectoriented framework reuse. J. Syst. Softw., 84(12):2234-2252.
  17. Oliveira, T. C., Alencar, P. S. C., de Lucena, C. J. P., and Cowan, D. D. (2007). RDL: A language for framework instantiation representation. J. Syst. Softw., 80:1902-1929.
  18. Pastor, O. and Molina, J. C. (2007). Model-Driven Architecture in Practice: A Software Production Environment Based on Conceptual Modeling. Springer-Verlag New York, Secaucus, NJ, USA.
  19. Sakenou, D., Mehner, K., Herrmann, S., and Sudhof, H. (2006). Patterns for re-usable aspects in object teams. In Net Object Days, Erfurt.
  20. Schmidt, D. C. (2006). Model-driven engineering. IEEE Computer, 39(2).
  21. Shah, V. and Hill, V. (2004). An aspect-oriented security framework: Lessons learned. In Proceedings of AOSDSEC'04 (AOSD Technology for Application-Level Security). Workshop of the Aspect Oriented Software Development Conference, Lancaster, UK.
  22. Soares, S., Laureano, E., and Borba, P. (2006). Distribution and persistence as aspects. Software: Practice and Experience, 33(7):711-759.
  23. Soudarajan, N. and Khatchadourian, R. (2009). Specifying reusable aspects. In Asian Workshop on AspectOriented and Modular Software Development (AOAsia'09).
  24. Wohlin, C., Runeson, P., Höst, M., Ohlsson, M. C., Regnell, B., and Wesslén, A. (2000). Experimentation in software engineering: an introduction. Kluwer Academic Publishers, Norwell, MA, USA.
  25. Zanon, I., Camargo, V. V., and Penteado, R. A. D. (2010). Reestructuring an application framework with a persistence crosscutting framework. INFOCOMP, 1:9- 16.

Paper Citation

in Harvard Style

Gottardi T., López Pastor O. and Vieira de Camargo V. (2012). A Model-based Approach for Reusing Crosscutting Frameworks . In Proceedings of the 14th International Conference on Enterprise Information Systems - Volume 2: ICEIS, ISBN 978-989-8565-11-2, pages 46-55. DOI: 10.5220/0004007100460055

in Bibtex Style

author={Thiago Gottardi and Oscar López Pastor and Valter Vieira de Camargo},
title={A Model-based Approach for Reusing Crosscutting Frameworks},
booktitle={Proceedings of the 14th International Conference on Enterprise Information Systems - Volume 2: ICEIS,},

in EndNote Style

JO - Proceedings of the 14th International Conference on Enterprise Information Systems - Volume 2: ICEIS,
TI - A Model-based Approach for Reusing Crosscutting Frameworks
SN - 978-989-8565-11-2
AU - Gottardi T.
AU - López Pastor O.
AU - Vieira de Camargo V.
PY - 2012
SP - 46
EP - 55
DO - 10.5220/0004007100460055