节点文献

面向方面的编程的研究与实现

Research and Implementation of Aspect-Oriented Programming

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 王申源董传良刘英丹

【Author】 WANG Shen-yuan,DONG Chuan-liang,LIU Ying-dan (Dept.of Computer Science & Engineering,Shanghai Jiaotong University,Shanghai 200030,China)

【机构】 上海交通大学计算机科学与工程系上海交通大学计算机科学与工程系 上海200030上海200030上海200030

【摘要】 面向方面的编程(AOP)是一种新的编程技术,它弥补了面向对象的编程(OOP)在跨越模块行为上的不足。AOP引进了Aspect,它将影响多个类的行为封装到一个可重用模块中,它允许程序员对横切关注点进行模块化,从而消除了OOP引起的代码混乱和分散问题,增强了系统的可维护性和代码的重用性。首先进行了AOP与OOP的比较,给出了AOP的原理和AOP的JBoss实现,最后介绍AOP在设计模式中的应用,并说明了使用它所带来的设计益处以及在应用AOP中应注意的问题。

【Abstract】 Aspect-Oriented Programming(AOP) is a new programming technology.It compensates the weakness of Object-Oriented Programming(OOP) at applying common behavior that spans multiple non-related object models.AOP introduces Aspect,it packages the behavior which impacts multiple classes into a reusable model,it allows programmers to model crosscutting concerns and eliminates the code tangling and scattering caused by OOP,the code is more readable and easier to maintain.This essay compares AOP with OOP,analyses the AOP elements and give implementation with JBoss 4.0.It introduces the AOP application in design-pattern,illuminates the advantage of AOP and give the points that should pay attention to AOP application.

  • 【文献出处】 计算机应用研究 ,Application Research of Computers , 编辑部邮箱 ,2004年11期
  • 【分类号】TP311.1
  • 【被引频次】51
  • 【下载频次】270
节点文献中: 

本文链接的文献网络图示:

本文的引文网络