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

一个基于AOP的Bean锁算法
引用本文:黄强,李敏,楼新远.一个基于AOP的Bean锁算法[J].成都信息工程学院学报,2006,21(2):225-228.
作者姓名:黄强  李敏  楼新远
作者单位:西南交通大学计算机与通信工程学院计算机科学与技术系,四川,成都,610031
摘    要:提出了一种基于Aspect Oriented Programming(AOP)的Bean锁算法,通过将Bean锁抽象成该问题的一个方面(Aspect),通过AOP引擎使用该算法动态生成加锁Bean,大大降低Bean锁代码的重复量,并在基本不影响性能的前提下,提高代码复用率。通过使用基于AOP的Bean锁,Bean可以完全消除锁代码,从而提高Bean代码的可维护性。

关 键 词:AOP  方面  J2EE  值对象  Bean锁
文章编号:1671-1742(2006)02-0225-04
修稿时间:2005年3月24日

An algorithm of bean lock based on AOP
HUANG Qiang,LI Min,LOU Xin-yuan.An algorithm of bean lock based on AOP[J].Journal of Chengdu University of Information Technology,2006,21(2):225-228.
Authors:HUANG Qiang  LI Min  LOU Xin-yuan
Abstract:Consequently redundant codes make the maintenance of the bean become very difficult.Through the abstraction of the bean as an aspect of the problem a bean lock algorithm based on the aspect oriented programming(AOP) is proposed.A locked bean is crated dynamically by using this algorithm through the AOP engine and the code redundancy of the bean lock is reduced dramatically.The code reuse rate is improved with little influence on the performance.By using the AOP-based bean lock component the lock code can be completely eliminated so the maintenance of the bean code is improved.
Keywords:AOP  aspect  J2EE  value object bean lock  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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