将面向方面编程技术融入传统的基于构件开发方法,提出了一种基于方面的构件模型。同时探讨了基于方面构件的组装策略以及利用XML语言描述组装、编织方面化构件的处理逻辑。新的构件模型采用更加模块化的构件实现方式,从传统构件模型中提取出方面元素,很好地解决了传统的基于构件开发方法中构件间关注点横切所导致系统混乱的问题,提高了构件的可复用性以及软件的开发效率。
Integrating aspect- oriented programming technology into the traditional component- based software development methodology, and raises aspect - based component model. The relevant assembly strategy is discussed, and using XML to describe the processing logic of assembly and weaving of aspect- based component. The new component model adopts a more modular component to implement, distills the aspect element from traditional component model, and satisfactorily resolves the problem of chaotic systems caused by crosscutting concerns in the traditional development methods, which can enhance the reusability and development efficiency of software.