期刊文献+

持久层实现研究

Research on Persistence Layer Model
下载PDF
导出
摘要 开发一个同时使用面向对象技术和关系型数据库技术的项目是一件困难的事情。为了解决面向对象技术和非面向对象技术之间存在阻抗不匹配问题,在企业应用开发过程中需要使用持久层来减少不匹配带来的影响。持久层是根据分层思想的指导,通过建立逻辑门户,采取一定的对象-关系映射策略,隐藏所有数据库访问代码细节,向开发人员提供的透明的对象持久化机制。在对现今流行的持久层设计技术、DAO模式和CMP模式的实现,进行深入分析的基础上,讨论了一个良好的持久层所应具备的功能,提出了一个持久层实现模型。 Designing software to connect an object- oriented business system with a relational database is a tedious task. In order to resolve inharmonious problem of impedance between object -oriented business system and non- object - oriented business system, the persistence layer is used to reduce effects that inharmonious impedance brings about while enterprises apply and exploitate the system. The persistence layer is a transparent object - enduring - mechanism system provided to the persons who develop according to the directions of the thoughts wlth layers,by building up a logic door, by adopting the certain object - relation mapping tactics to conceal all code details which all data bases access. With the analysis of popular technology,the realization of DAO pattern and CMP pattern,discusses the necessary function of a well-designed persistence layer. At last,deseribe a realization rrolel of persistence layer.
出处 《计算机技术与发展》 2008年第3期92-95,共4页 Computer Technology and Development
关键词 对象持久化 持久层 对象-关系映射 数据对象 persistent objects persistence layer object/relation mapping data object
  • 相关文献

参考文献7

  • 1Yoder J W,Johnson R E,Wilson Q D.Connecting Business Objects to Relational Databases[EB/OL].1995.http://www.joeyoder.com/Research/objectmappings/Persista.pdf.
  • 2Sun Microsystems.Core J2EE Patterns-Data Access Object[EB/OL].1998.http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html.
  • 3Roman E.Mastering Enterprise JavaBeans and the Java 2 Platform,Enterprise Edition[M].USA:John Wiley & Sons,Inc,1999.
  • 4Keller W.Object/Relational Access Layers:A Roadmap,Missing Links and More Patterns[C]//In:Proceedings of the 3rd European Conference on Pattern Languages of Programming and Computing.[s.l.]:[s.n,],1998.
  • 5Keller W.Mapping Objects to Tables:A Pattern Language[C]//in Proceedings of the 1997 European Pattern Languages of Programming Conference.Irrsee,Germany:Siemens,1997.
  • 6Ambler S W.Mapping Object to Relational Databases[EB/OL].1996.http:// www.AmbySoft.com/mappingObjects.pdf.
  • 7Gamma E,Helm R,Johson R,et al.Design Patterns:Elements of Reusable Object-Oriented software[M].[s.l]:Addison-Wesley Professional Computing Series,1995.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部