J2EE应用中Business Delegate模式的研究与改进  被引量:4

Research and improvement for business delegate pattern in J2EE applications

在线阅读下载全文

作  者:毛力[1] 浦佶[1] 张景莉[1] 

机构地区:[1]江南大学信息工程学院,江苏无锡214036

出  处:《计算机工程与设计》2008年第2期344-346,349,共4页Computer Engineering and Design

基  金:无锡市十五科技攻关项目(CI03003)

摘  要:J2EE模式提供了一组基于J2EE平台的对常见问题的解决方案,但是由于模式角色与模式的每一个实例类之间存在着映射关系,所以按照传统的面向对象方式使用J2EE模式,会产生一系列横切问题。通过一个实例,对面向对象实现业务代表模式所引发的问题进行了深入的分析和研究,提出了一种在J2EE应用中基于面向方面编程技术改进Business Delegate模式的实现方案。实践结果表明,使用该改进方案,能提高系统的性能,具体表现在更好的代码局部化、可维护性、可扩展性和可重用性。The J2EE patterns are a collection of J2EE-based solutions to common problems. However, a number of J2EE patterns involve crosscutting structures in the relationship between the roles in the pattern and classes in each instance of the pattern. A concrete application is chosen to analyze the problem of crosscutting within the implementation of business delegate pattern with OOP. A method to implement business delegate pattern using aspect-oriented programming (AOP) is present, and the result shows that this method helps improving the performance of J2EE Applications, including better code locality, maintainability, extensibility, and reusability.

关 键 词:J2EE模式 面向方面的编程 业务代表模式 横切关注点 网上订购系统 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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