首页 | 本学科首页   官方微博 | 高级检索  
     

AOP技术在车险业务系统中的应用
作者单位:同济大学软件学院,91746部队一处
摘    要:面向方面的编程(AOP)是一种新的编程技术,它弥补了面向对象的编程(OOP)在跨越模块行为上的不足。AOP引进了Aspect,它将影响多个类的行为封装到一个可重用模块中,它允许程序员对横切关注点进行模块化,从而消除了OOP引起的代码混乱和分散问题,增强了系统的可维护性和代码的重用性。该文分析传统权限控制、事务控制的实现方法,并研究了在AOP下权限控制、事务控制的实现方法从而为AOP技术在项目中的应用提供一定的参考。

关 键 词:AOP  设计模式  权限  事务  车险

Application on Vehicle Insurance System with AOP
Authors:WANG Pei-lin  TANG Yang
Affiliation:WANG Pei-lin1,TANG Yang2
Abstract:AOP is a new coding technique,which remedies the shortage of OOP in spanning module behavior. Aspect which affects thebehaviors of several classes when they are encapsulated in a repeatable used module is introduced in AOP. It also allows programmers tomodule the transversely points,which eliminates code confusion and distribution,and enhances the maintainability of system and repeatableuse of codes. This paper analyses and studies the way of the privilege controlling,transaction controlling. It can be a reference for applica-tion of AOP.
Keywords:AOP  design pattern  privilege  transaction  vehicle insurance  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号