作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (05): 272-274. doi: 10.3969/j.issn.1000-3428.2007.05.096

• 开发研究与设计技术 • 上一篇    下一篇

基于J2EE的数据持久化的研究与实现

苗晓辉   

  1. (浙江大学计算机科学与技术学院,杭州 310027)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-03-05 发布日期:2007-03-05

Design and Implementation of Data Persistent Based on J2EE

MIAO Xiaohui   

  1. (College of Computer Science & Technology, Zhejiang University, Hangzhou 310027)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-03-05 Published:2007-03-05

摘要: 数据持久化是J2EE平台开发过程中一个重要组成部分,也是构建企业级应用系统面临的棘手问题。该文摒弃基于J2EE构建企业级应用系统过程中典型的数据持久化技术,提出了通过使用EJB中的SessionBean,在适度使用配置文件的基础上构建规范的数据持久化平台,实现系统数据调用与应用逻辑分离,保证了数据调用线程安全,为系统的扩展、移植、重组维护打下了一个良好的基础。

关键词: 企业应用, J2EE, 持久化, 数据集成

Abstract: Data persistent is an important part of development in J2EE, and is an intractable problem in the process of designing enterprise application system. Discarding the type technology of data persistent in J2EE, it uses SessionBean technology of J2EE and configuration files within measure, forms normative data persistent platform, implements the separation of data transfer and application logic, assures the thread safety of data transfer, in the same time, laies the foundations of system extension, transplant, recomposition.

Key words: Enterprise application, J2EE, Persistent, Data integration