基于J2EE的数据持久模型的设计与实现  被引量:1

Design and Implementation of Data Persistence Layer Model Based on J2EE

在线阅读下载全文

作  者:孙霞[1] 胡旭昶[1] 姚畅[1] 霍瑞[1] 

机构地区:[1]宁波大学科学技术学院,浙江宁波315211

出  处:《宁波大学学报(理工版)》2009年第3期364-369,共6页Journal of Ningbo University:Natural Science and Engineering Edition

摘  要:针对面向对象技术和关系数据库企业应用开发的通用环境,对数据的持久解决方案并实现数据持久模型进行了研究.基于对象-关系映射技术,使用代理模式进行持久化管理,将底层的数据访问进行独立封装,并根据业务请求和映射信息文件动态地生成SQL代码,从而使得对象模型与关系数据库之间具有无关性;同时,通过动态分配机制和缓冲机制大大提高了数据访问的效率.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.

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

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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