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

AOP技术在J2EE系统构建中的应用
引用本文:古全友,王恩波,胥昌胜.AOP技术在J2EE系统构建中的应用[J].微机发展,2006,16(4):150-152.
作者姓名:古全友  王恩波  胥昌胜
作者单位:北方工业大学信息工程学院 北京100041
基金项目:北京市教委科研基金资助项目(2002KJD2A)
摘    要:在应用系统构建中,如何处理系统中的横切关注点问题是系统开发成功的关键。用OO技术来实现这些横切关注点,会导致系统侵入式实现,难于理解和维护。而AOP技术是用来模块化横切关注点的新技术。使用AOP技术来实现横切关注点,使得实现容易设计、理解和维护。而且AOP技术使系统开发高效、高质量,更有能力来实现新的特征。Spring是一个实现控制反转模式(IOC)和面向方面(AOP)的轻量级容器框架,它是用来帮助解决企业应用系统中公共问题和处理企业应用系统开发的复杂性。文中介绍了AOP的基本概念和Spring框架,并举例说明了AOP技术在J2EE系统中应用。

关 键 词:横切关注点  面向方面编程  面向对象编程
文章编号:1005-3751(2006)04-0150-03
修稿时间:2005年7月23日

Application of AOP in Constructing J2EE System
GU Quan-you,WANG En-bo,XU Chang-sheng.Application of AOP in Constructing J2EE System[J].Microcomputer Development,2006,16(4):150-152.
Authors:GU Quan-you  WANG En-bo  XU Chang-sheng
Abstract:In constructing application,how to deal with the problem of system crosscutting concern is key to the success of developing application.Object-oriented techniques for implementing such concerns result in systems that are invasive to implement,tough to understand,and difficult to evolve.The new aspect-oriented programming(AOP) methodology facilitates modularization of crosscutting concerns.Using AOP,you can create implementations that are easier to design,understand,and maintain.Further,AOP promises higher productivity,improved quality,and better ability to implement newer features.Spring is a lightweight inversion of control and aspect-oriented container framework.It is to help solve common problems in enterprise applications and address the complexity of enterprise application development.In this article,AOP and Spring framework are introduced,and an example of developing J2EE application system with AOP is presented at the end.
Keywords:crosscutting concerns  aspect-oriented programming  object-oriented programming  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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