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

基于J2EE的数据持久模型的设计与实现
引用本文:孙霞,胡旭昶,姚畅,霍瑞. 基于J2EE的数据持久模型的设计与实现[J]. 宁波大学学报(理工版), 2009, 22(3): 364-369
作者姓名:孙霞  胡旭昶  姚畅  霍瑞
作者单位:宁波大学,科学技术学院,浙江,宁波,315211;宁波大学,科学技术学院,浙江,宁波,315211;宁波大学,科学技术学院,浙江,宁波,315211;宁波大学,科学技术学院,浙江,宁波,315211
摘    要:针对面向对象技术和关系数据库企业应用开发的通用环境,对数据的持久解决方案并实现数据持久模型进行了研究.基于对象一关系映射技术,使用代理模式进行持久化管理,将底层的数据访问进行独立封装,并根据业务请求和映射信息文件动态地生成SQL代码,从而使得对象模型与关系数据库之间具有无关性;同时,通过动态分配机制和缓冲机制大大提高了数据访问的效率.

关 键 词:面向对象  关系数据库  映射  数据持久

Design and Implementation of Data Persistence Layer Model Based on J2EE
SUN Xia,HU Xu-chang,YAO Chang,HUO Rui. Design and Implementation of Data Persistence Layer Model Based on J2EE[J]. Journal of Ningbo University(Natural Science and Engineering Edition), 2009, 22(3): 364-369
Authors:SUN Xia  HU Xu-chang  YAO Chang  HUO Rui
Affiliation:( College of Science and Technology, Ningbo University, Ningbo 315211, China )
Abstract:Aiming at developing object-oriented technology and relational database in a general environment for enterprise applications, this article studies the approaches for data persistence solution and model construction. Proxy model is used to manage data persistence based on O/R Mapping. The encapsulated underlying data are made completely accessible, with the object model and relational database being independent of each other by building SQL code dynamically with the query of operation and mapping information. The data accessing efficiency is greatly uplifted through the dynamic allocation and the buffering mechanism.
Keywords:object-oriented  relational database  mapping  data persistence
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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