Spring AOP框架在J2EE中的应用  被引量:11

Spring AOP frame in J2EE application

在线阅读下载全文

作  者:张国平[1] 万仲保[2] 刘高原[2] 

机构地区:[1]平顶山学院,河南平顶山467002 [2]华东交通大学,江西南昌330013

出  处:《微计算机信息》2007年第36期254-256,共3页Control & Automation

基  金:江西省自然科学基金(0411035)

摘  要:借助于Spring Framework,可以将使用无格式Java对象实现的业务逻辑与传统的J2EE基础架构连接起来,同时极大地减少了访问J2EE组件和服务所需的代码量。Spring托管的组件(POJO)可以与EJB共存,并允许使用AOP方法来处理企业应用程序中的横切方面——从监控和审计、缓存及应用程序级的安全性开始,直到处理特定于应用程序的业务需求。同时使用AOP技术除了可帮助解决代码混乱和代码分散所带来的问题之外,它还有一些别的好处:模块化横切关注点;系统容易扩展;设计决定的迟绑定;更好的代码重用性。With the aid of Spring Framework, can build up and join using business logic and traditional J2EE foundation that unformatted Java target realizes, reduce visit J2EE package and service necessary code quantity greatly at the same time. The package (POJO) that Spring deposits can coexist with EJB, allows to deal with the crosscut in enterprise's application program with AOP method-From controlling and auditing, security beginning of buffer memory and application program grade, until dealing with the particular business demand for the application program. Use AOP technology besides can help to solve the problem that code confusion and code are dispersed and brought ing at the same time, it has some other advantages: Module crosscut attention; The system is easy to expand; The tying definitely late of design decision; Better code.

关 键 词:SPRING AOP EJB J2EE 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象