摘要
Hibernate是当前广泛应用的一种ORM数据库访问框架,它提供从对象模型到关系型数据模型的映射。Spring框架是一种轻量级J2EE应用框架,是针对Bean的生命周期进行管理的轻量级容器。介绍这两种框架并将它们结合起来形成一个业务持久层解决方案。这里提出使用Spring框架来管理业务对象,通过Hibernate作为数据持久层的方案来开发B/S架构的Web应用,并将此框架结构应用于实际项目的设计与开发中。
Hibernate is a widely used, high performance ORM framework that provide the mapping between data model and relational data model. Spring framework is a light - level J2EE framework and a light - level container of managing beans' life recycle. In this paper, Hibernate and Spring framework is introduced in detail, and incorporate the two frameworks and form a resolurtion of husiness and persistence layer. Here Web application based on B/S framework is developed with Spring framework which manage husiness objects and Hibernate which is a resolution of data persistence layer. And apply the resolution to practice on the design and programming of project.
出处
《计算机技术与发展》
2006年第11期84-86,共3页
Computer Technology and Development
作者简介
华涛(1980-),男,山东聊城人,硕士研究生,研究方向为软件工程,
郝克刚,教授,博士生导师,研究方向为软件工程、软件理论、形式化方法;
葛玮,副教授,硕士生导师,研究方向为软件工程、软件测试。