摘要
提出了应用服务模式的AOP实现方案,并与应用服务模式的OOP实现方案相比较,得出OOP实现方案存在着代码缠结和代码分散等问题;AOP实现方案具有模块松散耦合、可重用性高等优点。
The AOP implementation of the pattern was presented. Traditionally OOP implements of the Application Service Pattern tangle the pattern implements codes with pattern participant codes together. Compared with the object-oriented implementation, the modularity and reusability of the AOP implementation will be greatly improved.
出处
《科学技术与工程》
2007年第5期880-882,共3页
Science Technology and Engineering
关键词
AOP
OOP
设计模式
aspect-oriented programming object-oriented programming design pattern