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

重复存储Java对象解决方案研究
引用本文:田英爱,张志华,秦奕青.重复存储Java对象解决方案研究[J].北京机械工业学院学报,2006,21(2):41-45.
作者姓名:田英爱  张志华  秦奕青
作者单位:北京机械工业学院计算机及自动化系,北京100085
摘    要:在面向对象的Java应用开发中,经常采用关系数据库作为持久对象的存储机制,由于对象模型与关系模型之间的"阻抗不匹配"问题,以及关系数据库管理系统本身的内部标识生成机制,使得在关系数据库中存储Java对象时,有时会导致重复对象数据的存储.研究对象持久化处理过程,将对象标识生成过程从关系数据库管理系统中分离出来,并独立于应用业务逻辑层的设计,根据这种思想,提出了2种方案来解决Java对象的重复存储问题.

关 键 词:持久对象  阻抗不匹配  对象持久化  对象标识
文章编号:1008-1658(2006)02-0041-05
收稿时间:2006-04-17
修稿时间:2006年4月17日

Research on solutions to Java object duplicate storage
TIAN Ying-ai,ZHANG Zhi-hua,QIN Yi-qing.Research on solutions to Java object duplicate storage[J].Journal of Beijing Institute of Machinery,2006,21(2):41-45.
Authors:TIAN Ying-ai  ZHANG Zhi-hua  QIN Yi-qing
Abstract:In the development of Java object-oriented application ,relational database is often used as persistent objects storage mechanism. But sometime there are duplicate storage problems because of the impedance mismatch between object model and relational model. The inner identifier generator inside the relational database management system can also lead to the same results. The process of object persistence is studied in this paper. The object identifier generator is separated from the RDBMS and isolated from the application logic layer. Based on this idea, two solutions are presented to deal with the problem of Java object duplicate storage.
Keywords:persistent object  impedance mismatch  object persistence  object identifier
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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