|
计算机应用研究 2004
Research and Implementation of Aspect-Oriented Programming
|
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.