首页 | 官方网站   微博 | 高级检索  
     

Java中的持久性存储技术——JDBC和JDO
引用本文:冯战,郝克刚,葛玮.Java中的持久性存储技术——JDBC和JDO[J].微机发展,2006,16(9):46-49.
作者姓名:冯战  郝克刚  葛玮
作者单位:西北大学软件工程研究所 陕西西安710069
摘    要:在实际的企业应用程序中,开发人员可以通过多种方式来实现数据的持久化存储。例如,使用Java序列化并存储整个对象的二进制表示;较通用的企业方案是通过EJB来使用应用程序服务器的工具;或者使用JDBC存储在数据库中,还有就是通过JDO。文中主要介绍了JDBC和JDO技术,并把JDBC和JDO作了比较,讨论了各自的特性和不同点,并突出了常见的误解。最后得出一般性的结论:它们是互补的API,每个都为各自的目的而很好地服务。

关 键 词:JDO  JDBC  持久性存储  序列化  域对象模型
文章编号:1673-629X(2006)09-0046-04
修稿时间:2006年1月8日

The Persistence Store Technique in Java JDBC and JDO
FENG Zhan,HAO Ke-gang,GE Wei.The Persistence Store Technique in Java JDBC and JDO[J].Microcomputer Development,2006,16(9):46-49.
Authors:FENG Zhan  HAO Ke-gang  GE Wei
Abstract:In practice of the enterprise application,developer can implement data's persistence store with many ways,for example,using Java serialization and storing the binary presentation about the whole object;more popular enterprise scheme is to use the tools of application server through EJB;storing in the database through JDBC or JDO.Introduces the technique of JDBC and JDO,compares JDBC with JDO,discusses their characteristics and differentia,and shows usual misunderstanding.Final conclude in a general way: they are the complementary API, and every one serves well with their different intents.
Keywords:JDO  JDBC  persistence store  serialization  domain object model
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号