Aspectual feature modules

被引:81
作者
Apel, Sven [1 ]
Leich, Thomas [2 ]
Saake, Gunter [3 ]
机构
[1] Univ Passau, Dept Math & Informat, D-94030 Passau, Germany
[2] Metop Res Inst, Dept Appl Informat, D-39106 Magdeburg, Germany
[3] Univ Magdeburg, Sch Comp Sci, D-39106 Magdeburg, Germany
关键词
feature-oriented programming; aspect-oriented programming; software product lines; incremental software development; collaboration-based design; separation of concerns; crosscutting modularity;
D O I
10.1109/TSE.2007.70770
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Two programming paradigms are gaining attention in the overlapping fields of software product lines (SPLs) and incremental software development (ISD). Feature-oriented programming (FOP) aims at large-scale compositional programming and feature modularity in SPLs using ISD. Aspect-oriented programming (AOP) focuses on the modularization of crosscutting concerns in complex software. Although feature modules, the main abstraction mechanisms of FOP, perform well in implementing large-scale software building blocks, they are incapable of modularizing certain kinds of crosscutting concerns. This weakness is exactly the strength of aspects, the main abstraction mechanisms of AOP. We contribute a systematic evaluation and comparison of FOP and AOP. It reveals that aspects and feature modules are complementary techniques. Consequently, we propose the symbiosis of FOP and AOP and aspectual feature modules (AFMs), a programming technique that integrates feature modules and aspects. We provide a set of tools that support implementing AFMs on top of Java and C++. We apply AFMs to a nontrivial case study demonstrating their practical applicability and to justify our design choices.
引用
收藏
页码:162 / 180
页数:19
相关论文
共 120 条
[1]   A calculus for reasoning about software composition [J].
Achermann, F ;
Nierstrasz, O .
THEORETICAL COMPUTER SCIENCE, 2005, 331 (2-3) :367-396
[2]  
ALDRICH J, 2005, P 19 EUR C OBJ OR PR, P144
[3]   The real costs of aspect-oriented programming? [J].
Alexander, R .
IEEE SOFTWARE, 2003, 20 (06) :91-+
[4]  
Alves Vander, 2006, GPCE, P201
[5]   A survey of peer-to-peer content distribution technologies [J].
Androutsellis-Theotokis, S ;
Spinellis, D .
ACM COMPUTING SURVEYS, 2004, 36 (04) :335-371
[6]  
Anfurrutia FI, 2007, LECT NOTES COMPUT SC, V4607, P473
[7]  
[Anonymous], 2002, COMPONENT SOFTWARE B
[8]  
[Anonymous], PRAX INF KOMMUN
[9]  
APEL S, 2006, P GPCE WORKSH ASP OR
[10]  
APEL S, 2007, THESIS U MAGDEBURG