基于J2EE的轻量级持久层框架的设计  被引量:5

The Design of Lightweight Persistence Layer Framework Based on J2EE

在线阅读下载全文

作  者:梁国业[1] 廖健平 LIANG Guo-ye, LIAO Jian-ping2(1.Maoming Collge,Maoming 525000,China;2.Actions Semiconductor Co, Ltd,Zhuhai 5i9085,China)

机构地区:[1]茂名学院,广东茂名525000 [2]珠海炬力有限公司,广东珠海519085

出  处:《电脑知识与技术》2008年第4期88-89,95,共3页Computer Knowledge and Technology

摘  要:面向对象技术和关系数据库技术的协同工作存在“阻抗不匹配”的问题。本文首先对基于J2EE的持久层实现方式进行分析与比较,然后借鉴常用设计模式和主流持久层框架的设计理念,搭建了一个以Hibernate为核心组件的轻量级持久层框架。In this paper, a lightweight persistence layer framework is designed, which uses Hibemate as an Object-Relational Mapper and POJO as implementation of business objects. One of the most creative works here is using abstract factory pattern and proxy pattern to improve the traditional technique to encapsulate the persistence layer, which called DAO pattern.

关 键 词:对象-关系映射 持久层 设计模式 框架 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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