Skip to main content

Mapping Aspect-Oriented Models to Aspect-Oriented Code

  • Conference paper
Models in Software Engineering (MODELS 2010)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6627))

Abstract

When aspect-oriented modeling techniques are used in the context of Model-Driven Engineering, a possible way of obtaining an executable from an aspect-oriented model is to map it to code written in an aspect-oriented programming language. This paper outlines the most important challenges that arise when defining such a mapping: mapping structure and behavior of a single aspect, mapping instantiation of structure and behavior in target models, mapping conflict resolution between aspects, and mapping aspect dependencies and variability. To explain these mapping issues, our paper presents details on how to map Reusable Aspect Models (RAM) to AspectJ source code. The ideas are illustrated by presenting example models and corresponding mapped code from the AspectOptima case study.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Al Abed, W., Kienzle, J.: Aspect-Oriented Modeling and Information Hiding. In: 14th Aspect-Oriented Modeling Workshop, Denver, CO, USA, pp. 1–6 (October 4, 2009)

    Google Scholar 

  2. Baniassad, E., Clarke, S.: Theme: An approach for aspect-oriented analysis and design. In: ICSE 2004, pp. 158–167. IEEE Computer Society, Washington, DC (2004)

    Google Scholar 

  3. Bencomo, N., Blair, G., France, R.: Proceedings of the International Workshops on models@run.time, 2006-2010.

    Google Scholar 

  4. Clarke, S., Baniassad, E.: Aspect-Oriented Analysis and Design. Addison-Wesley Professional, Reading (2005)

    Google Scholar 

  5. Clarke, S., Walker, R.J.: Towards a standard design language for aosd. In: AOSD 2002, pp. 113–119. ACM, New York (2002)

    Google Scholar 

  6. Gosling, J., Joy, B., Steele, G.L.: The Java Language Specification. The Java Series. Addison Wesley, Reading (1996)

    MATH  Google Scholar 

  7. Groher, I., Schulze, S.: Generating aspect code from uml models. In: Workshop on Aspect-Oriented Modeling with UML @ AOSD (2003)

    Google Scholar 

  8. Hovsepyan, A., Scandariato, R., Van Baelen, S., Berbers, Y., Joosen, W.: From aspect-oriented models to aspect-oriented code?: the maintenance perspective. In: AOSD 2010, pp. 85–96. ACM, New York (2010)

    Google Scholar 

  9. Jackson, A., Casey, N., Clarke, S.: Mapping design to implementation. AOSD-Europe-TCD-D111, www.aosd-europe.net

  10. Kiczales, G., Hilsdale, E., Hugunin, J., Kersen, M., Palm, J., Griswold, W.G.: An Overview of AspectJ. In: Lee, S.H. (ed.) ECOOP 2001. LNCS, vol. 2072, pp. 327–357. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  11. Kienzle, J., Al Abed, W., Fleurey, F., Jézéquel, J.-M., Klein, J.: Aspect-Oriented Design with Reusable Aspect Models. Transactions on Aspect-Oriented Software Development 7, 279–327 (2010)

    Google Scholar 

  12. Kienzle, J., Al Abed, W., Klein, J.: Aspect-Oriented Multi-View Modeling. In: AOSD 2009, pp. 87–98. ACM Press, New York (2009)

    Google Scholar 

  13. Klein, J., Kienzle, J.: Reusable Aspect Models. In: 11th Aspect-Oriented Modeling Workshop, Nashville, TN, USA (September 30, 2007)

    Google Scholar 

  14. Kulesza, U., Garcia, A., Lucena, C.: Generating aspect-oriented agent architectures. In: Workshop on Early Aspects: Aspect-Oriented Requirements Engineering and Architecture Design (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kramer, M.E., Kienzle, J. (2011). Mapping Aspect-Oriented Models to Aspect-Oriented Code. In: Dingel, J., Solberg, A. (eds) Models in Software Engineering. MODELS 2010. Lecture Notes in Computer Science, vol 6627. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-21210-9_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-21210-9_12

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-21209-3

  • Online ISBN: 978-3-642-21210-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics