Title :
A Case Study Implementing Features Using AspectJ
Author :
Kastner, Christian ; Apel, Sven ; Batory, Don
Author_Institution :
Univ. of Magdeburg, Magdeburg
Abstract :
Software product lines aim to create highly configurable programs from a set of features. Common belief and recent studies suggest that aspects are well-suited for implementing features. We evaluate the suitability of AspectJ with respect to this task by a case study that refactors the embedded database system Berkeley DB into 38 features. Contrary to our initial expectations, the results were not encouraging. As the number of aspects in a feature grows, there is a noticeable decrease in code readability and maintainability. Most of the unique and powerful features of AspectJ were not needed. We document where AspectJ is unsuitable for implementing features of refactored legacy applications and explain why.
Keywords :
object-oriented programming; software engineering; AspectJ; aspect oriented programming; software product line; Books; Computer science; Database systems; Debugging; Engines; Informatics; Production; Scattering; Spline; Weaving;
Conference_Titel :
Software Product Line Conference, 2007. SPLC 2007. 11th International
Conference_Location :
Kyoto
Print_ISBN :
978-0-7695-2888-5
DOI :
10.1109/SPLINE.2007.12