DocumentCode
356837
Title
A study on exception detection and handling using aspect-oriented programming
Author
Lippert, Martin ; Lopes, Cristina Videira
Author_Institution
Dept. of Comput. Sci., Hamburg Univ., Germany
fYear
2000
fDate
2000
Firstpage
418
Lastpage
427
Abstract
Aspect oriented programming (AOP) is intended to ease situations that involve many kinds of code tangling. The paper reports on a study to investigate AOP´s ability to ease tangling related to exception detection and handling. We took an existing framework written in Java TM, the JWAM framework, and partially reengineered its exception detection and handling aspects using AspectJTM, an aspect oriented programming extension to Java. We found that AspectJ supported implementations that drastically reduced the portion of the code related to exception detection and handling. In one scenario, we were able to reduce that code by a factor of 4. We also found that, with respect to the original implementation in plain Java, AspectJ provided better support for different configurations of exceptional behaviors, more tolerance for changes in the specifications of exceptional behaviors, better support for incremental development, better reuse, automatic enforcement of contracts in applications that use the framework, and cleaner program texts. We also found some weaknesses of AspectJ that should be addressed in the future
Keywords
Java; exception handling; object-oriented programming; systems re-engineering; AOP; AspectJ; JWAM framework; Java; aspect oriented programming; automatic contract enforcement; code tangling; exception detection; exception handling; exceptional behaviors; incremental development; partial reengineering; program texts; specifications; Application software; Computer errors; Computer science; Contracts; Humans; Java; Laboratories; Permission; Software systems; Usability;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering, 2000. Proceedings of the 2000 International Conference on
Conference_Location
Limerick
ISSN
0270-5257
Print_ISBN
1-58113-206-9
Type
conf
DOI
10.1109/ICSE.2000.870432
Filename
870432
Link To Document