计算机应用 ›› 2011, Vol. 31 ›› Issue (02): 458-461.

• 数据库与数据挖掘 • 上一篇    下一篇

集成Spring和Aglets的远程数据库访问技术

黄大荣1,黄惠敏2   

  1. 1. 重庆交通大学
    2.
  • 收稿日期:2010-08-06 修回日期:2010-09-14 发布日期:2011-02-01 出版日期:2011-02-01
  • 通讯作者: 黄大荣
  • 基金资助:
    国家博士后科学基金;重庆市自然科学基金;重庆市教委科学技术研究项目;重庆交通大学研究生教育创新基金项目

Access technology of remote database integrated Spring and Aglet

  • Received:2010-08-06 Revised:2010-09-14 Online:2011-02-01 Published:2011-02-01
  • Supported by:
    ;Chongqing Municipal Natural Science Foundation

摘要: 针对传统Client/Server计算模式远程数据库访问的不足,提出了一种集成Spring和Aglets的远程数据库访问技术。将移动代理Aglets运用到远程数据库访问系统中,能够明显的提高通信效率,改善系统性能,从而进一步利用Spring作为整个系统的基础框架,将系统的各个组成部分都纳入到Spring控制反转(IoC)容器中进行统一管理,可提高软件的可维护性和灵活性。实验结果表明,与传统Client/Server计算模式的远程数据库访问方法对比,该技术具有明显的性能优势。

关键词: Spring, 移动代理, Aglets平台, 数据库

Abstract: Aiming at solving the problem of the remote database access insufficiency based on traditional Client/Server mode, a remote database access technology integrating Spring and Aglets was proposed. Mobile Agent Aglets was used in the remote database access system, which would increase communication efficiency and improve performance significantly. Furthermore, Spring was used as the basic frame in the system, which could absorb every component of the system into the Spring IoC container for uniform management, and it could improve the maintainability and flexibility of the system. The experimental results demonstrate that the proposed technology has obvious performance superiority compared to traditional remote database access technology based on Client/Server mode.

Key words: Spring, mobile Agent, Aglets platform, database