USING ASPECT-ORIENTATION FOR SOFTWARE MIGRATION

Uwe Hohenstein, Michael C. Jaeger

2010

Abstract

A replacement of 3rd party tools such as database systems or persistence frameworks occur quite often in practice. Possible reasons are license costs, customer requirements or missing functionality. Such a migration usually means exchanging API calls and dealing with functional differences. Problems occur if some functionality cannot be emulated. This paper proposes and explains the use of aspect-orientation to handle severe problems in migra¬tion scenarios. A migration project is introduced the goal of which was to replace the persistence frame¬work Hibernate with OpenJPA. This migration involved challenging problems where the application of aspect-oriented programming has provided simple and straightforward solutions.

References

  1. Aksit, M., 2003. Proc. of 2nd Int. Conf. on AspectOriented Software Development. AOSD 2003
  2. Burke, B., 2005. Implementing Middleware Using AOP. In Proc. 4th Conf. on Aspect-Oriented Software Development. (AOSD), Chicago 2005
  3. Coady, Y., Kiczales, G., 2003. Back to the Future: A Retrospective Study of Aspect Evolution in Operating System Code. In (Aksit, 2003)
  4. Chapman, M., Vasseur, A., Kniesel, G., 2006. Proc. Of Industry Track of 3rd Conf. on Aspect-Oriented Software Development (AOSD), Bonn 2006
  5. Duck, A., 2006. Implementation of AOP in Non-Academic Projects. In (Chapman, Vasseur and Kniesel, 2006)
  6. Elrad, T., Filman, R., Bader, A., 2001. Theme Section on Aspect-Oriented Programming. CACM 44(10), 2001
  7. Gamma, E., Helm, R., Johnson, R., Vlissides, J., 1995.
  8. Design Patterns - Elements of Reusable Object-Oriented Software. Addison-Wesley 1995
  9. Hannemann, J., Kiczales, G., 2002. Design Pattern Implementation in Java and AspectJ. In Proc. of the 17th Conf. on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2002
  10. Hohenstein U., 2006. Using Aspect-Orientation to Manage Database Statistics. In: (Chapman, Vasseur and Kniesel, 2006)
  11. Joosen, W., Sanen, F., Truyen, E., 2006. Dissemination of AOSD expertise support documentation. AOSDEurope Deliverable No.: AOSD-Europe-KUL-8
  12. Kästner, C., Apel, S., Batory, D., 2007. A Case Study Implementing Features Using AspectJ. In Proc. Int. Software Product Line Conference (SPLC), Kyoto 2007, IEEE Computer Society
  13. Kienzle, J., Gélineau, S., 2006. AO Challenge - Implementing the ACID Properties for Transactional Attributes. In Proc of 5th Int. Conf on Aspect-Oriented Software Development. Bonn (Germany) 2006
  14. Kiczales, G., 2005. Adopting AOP. In Proc. 4th Conf. on Aspect-Oriented Software Development; AOSD 2005, Chicago, ACM Press
  15. Laddad, R., 2006. AOP@Work: Myths about AOP. http://www-128.ibm.com/developerworks/java/library /j-aopwork15
  16. Laddad, R., 2008. AspectJ in Action: Practical AspectOriented Programming (2nd ed.), Manning, Greenwich (2008)
  17. Murphy, G., Walker, A., Robillard, M., 2001. Separating Features in Source Code: An Exploratory Study. In Proc. of 23rd Int. Conf. on Software Engineering 2001
  18. Ostermann, K., Mezini, M., Bockisch, C., 2005. Expressive Pointcuts for Increased Modularity. In 19th European Conf. on Object-Oriented Programming (ECOOP05), Malaga (Spain) 2005, LNCS 3586
  19. Rashid, A., 2004. Aspect-Oriented Database Systems. Springer Berlin Heidelberg 2004
  20. Rashid, A., Chitchyan, R., 2003. Persistence as an Aspect. In (Aksit, 2003)
  21. Soares, S., Borba, P, 2005. Implementing Modular and Reusable Aspect-Oriented Concurrency Control with AspectJ. In WASP05, Uberländia, Brazil
  22. Strunk, W., 2007. The Symphonia Product-Line. Java and Object-Oriented (JAOO) Conference, 2007
  23. Vines, D., Sutter, K., 2007. Migrating legacy Hibernate applications to OpenJPA and EJB 3.0. http: //www.ibm.com/developerworks/websphere/techjourn al/0708_vines/0708_vines.html
  24. Wiese, D., Hohenstein, U., Meunier, R., 2007. How to Convince Industry of Aspect-Orientation? Industry Track of 6th Int. Conf. on Aspect-Oriented Software Development, AOSD 2007, Vancouver
  25. Wiese, D., Meunier, R., 2008. Large Scale Application of AOP in the Healthcare Domain: A Case Study. In Industry Track of 7th Int. Conf. on Aspect-Oriented Software Development (AOSD), Brussels 2008
  26. Zhang, C., Jacobsen, H.-A., 2003. Quantifying Aspects in Middleware Platforms. In (Aksit, 2003).
Download


Paper Citation


in Harvard Style

Hohenstein U. and C. Jaeger M. (2010). USING ASPECT-ORIENTATION FOR SOFTWARE MIGRATION . In Proceedings of the Fifth International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE, ISBN 978-989-8425-21-8, pages 30-39. DOI: 10.5220/0002929900300039


in Bibtex Style

@conference{enase10,
author={Uwe Hohenstein and Michael C. Jaeger},
title={USING ASPECT-ORIENTATION FOR SOFTWARE MIGRATION},
booktitle={Proceedings of the Fifth International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,},
year={2010},
pages={30-39},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0002929900300039},
isbn={978-989-8425-21-8},
}


in EndNote Style

TY - CONF
JO - Proceedings of the Fifth International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,
TI - USING ASPECT-ORIENTATION FOR SOFTWARE MIGRATION
SN - 978-989-8425-21-8
AU - Hohenstein U.
AU - C. Jaeger M.
PY - 2010
SP - 30
EP - 39
DO - 10.5220/0002929900300039