摘要
作为目前最为主流的软件开发技术,面向对象的编程OOP(Object-Oriented Programming)对于软件产品线可变性的实现提供了一定的支持。但OOP对于具有横切特性的产品线特征以及可选的特征交互关系仍然难以提供灵活、有效的支持,因此一些相关研究者将面向方面的编程AOP(Aspect-Oriented Programming)引入到产品线实现方法中。AOP不仅能分离横切的关注点,而且还通过依赖关系分离的方式为可选交互关系的灵活配置提供了有力的支持。显然,结合OOP和AOP这两种技术实现的产品线系统将具有更高的可复用性、灵活性和可配置性。在相关问题分析的基础上对基于OOP和AOP的产品线实现技术进行了研究,并通过一个酬金发放系统产品线的实例分析对相关方法进行了验证和分析。
As one of the most popular software development technology,OOP(Object-oriented Programming) does provide certain mechanisms for the implementation of software product line variabilities. However, OOP does not support crosscutting features and optional feature interactions well. Therefore, some researchers introduced AOP(Aspect-oriented Programming) to the implementation of software product line. AOP can not only separate crosscutting concerns, but also provide flexible supports for configuration of optional feature interactions through separation of dependencies. Therefore, combining OOP and AOP in product line implementation can greatly promote the reusability, adaptability, and configurability of product line assets. This paper explored the OOP and AOP combined implementation method for software product line on the analysis of related problems, and then presented a case study on a reward offering software product line for validation with related analysis and discussion.
出处
《计算机科学》
CSCD
北大核心
2009年第7期120-123,共4页
Computer Science
基金
国家863计划(2007AA01Z125)
国家自然科学基金(60703092)资助