[1]牛永洁.基于AOP的动态日志系统的实现[J].计算机技术与发展,2011,(03):102-104.
 NIU Yong-jie.Implementation of Dynamic Log System Based on AOP[J].,2011,(03):102-104.
点击复制

基于AOP的动态日志系统的实现()

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2011年03期
页码:
102-104
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
Implementation of Dynamic Log System Based on AOP
文章编号:
1673-629X(2011)03-0102-03
作者:
牛永洁
延安大学计算中心
Author(s):
NIU Yong-jie
Computing Center, Yau' an University
关键词:
面向方面横切关注点日志系统反射编译
Keywords:
aspect-oriented programming cross-cutting concerns log system reflection compile
分类号:
TP311.5
文献标志码:
A
摘要:
为了避免在软件系统中的代码散射(scattering)和代码缠结(tangling),提高软件系统的可维护性与可扩展性,需要将系统必要的但与系统的主要业务无关的一些功能分离出来,单独作为一个模块求实现。然后使用静态织人或者动态织人的方法将这些功能与主要地务联接在一起,组合成一个完整的软件系统。采用面向方面(Aspect—Oriented Programming,AOP)的编程方式将日志功能与主要业务功能组合存一起,并使用反射及动态编译的方法实现了二者结合点的可定制化,进一步提高了系统的灵活性与可扩展性。通过在仪器设备管理系统中的应用,这种方法取得了良好的效果,具有一定的推广价值
Abstract:
In order to avoid code scattering and code tangles then improve maintainability and scalability of system, some functions which were necessary to system but has nothing with the major business, they were separated and implemented as a separate module. Then they were weaved into key business through static or dynamic weaving method, combined into a complete system. In this paper, logging together with key business functions were combined together by AOP, reflection and dynamic compilation were used to be customized. Through application in the equipment management system, this method achieves good results, has a potential value

相似文献/References:

[1]周改霞 高尚 杨镇江.基于AOP的Web系统事务管理的应用研究[J].计算机技术与发展,2010,(04):246.
 ZHOU Gai-xia,GAO Shang,YANG Zhen-jiang.Research on Application of Transaction Management of Web System Based on Aspect- Oriented Programming[J].,2010,(03):246.
[2]赵准 张立臣.基于面向方面的网格QoS建模方法[J].计算机技术与发展,2010,(06):63.
 ZHAO Zhun,ZHANG Li-chen.Grid QoS Modeling Method Based on Aspect-Oriented[J].,2010,(03):63.
[3]李行 张立臣 陈成.面向方面的实时系统中间件[J].计算机技术与发展,2008,(07):8.
 LI Xing,ZHANG Li-chen,CHEN Cheng.Aspect Oriented Middleware for Real- Time System[J].,2008,(03):8.
[4]刘敬勇 张立臣 钟勇.面向方面的中间件[J].计算机技术与发展,2008,(08):68.
 LIU Jing-yong,ZHANG Li-chen,ZHONG Yong.Aspect - Oriented Middleware[J].,2008,(03):68.
[5]刘东星 张立臣 高娜.面向方面在实时系统中间件中的应用[J].计算机技术与发展,2010,(07):40.
 LIU Dong-xing,ZHANG Li-chen,GAO Na.Application of Real-Time System Middleware Based on Aspect Oriented[J].,2010,(03):40.
[6]曹晓利 郭顺生.AOP技术及其在J2EE中的动态代理实现[J].计算机技术与发展,2008,(11):120.
 CAO Xiao-li,GUO Shun-sheng.AOP Technology and Its Dynamic Proxy Implementation in J2EE[J].,2008,(03):120.
[7]古全友 王恩波 胥昌胜.AOP技术在J2EE系统构建中的应用[J].计算机技术与发展,2006,(04):150.
 GU Quan-you,WANG En-bo,XU Chang-sheng.Application of AOP in Constructing J2EE System[J].,2006,(03):150.
[8]杨汉明 张立臣.面向方面的软件非功能特性研究[J].计算机技术与发展,2011,(02):112.
 YANG Han-ming,ZHANG Li-chen.Research of Software Non-functional Requirements Based on Aspect-oriented[J].,2011,(03):112.
[9]吴帅 张立臣.基于信息物理系统的面向方面中间件特征模型[J].计算机技术与发展,2012,(02):76.
 WU Shuai,ZHANG Li-chen.A Feature Model of Aspect-Oriented Middleware for Cyber-Physical Systems[J].,2012,(03):76.
[10]阳王东.一种面向方面的软件资源特征分析方法[J].计算机技术与发展,2012,(11):153.
 YANG Wang-dong.A Features Analysis Method of Software Resources Aspect-oriented[J].,2012,(03):153.
[11]邓惠敏 张立臣 邓建波.基于面向方面和UML的实时系统建模研究[J].计算机技术与发展,2010,(12):118.
 DENG Hui-min,ZHANG Li-chen,DENG Jian-bo.Research of Real-Time System Modeling Based on Aspect-Oriented and UML[J].,2010,(03):118.
[12]汤根生 王姚.面向方面状态模型的UML扩展实现[J].计算机技术与发展,2011,(01):116.
 TANG Gen-sheng,WANG Yao.Realization of Aspectual State Model by Extending UML[J].,2011,(03):116.

备注/Memo

备注/Memo:
延安市科学技术研究发展计划项目(2009KG-10)牛永洁(1977-),男,河南许昌人,硕士,讲师,CCF会员,研究方向为软件工程、数据挖掘
更新日期/Last Update: 1900-01-01