检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西安航空学院计算机工程系,陕西西安710077
出 处:《计算机技术与发展》2014年第12期101-104,共4页Computer Technology and Development
基 金:陕西省教育自然科学项目(12JK0951)
摘 要:在分层结构设计中,持久化层位于数据库层与业务逻辑层之间,实现了业务逻辑与数据访问的分离,给开发人员提供了便利。ORM框架是解决面向对象程序设计语言与关系数据库间存在互不匹配问题的中间方案。文中分析了几种常见持久化层实现技术的优缺点,通过对常用ORM框架技术的分析和比较,研究了一种基于Hibernate框架的ORM持久化层的设计与实现。为简化业务逻辑层调用,通过DAO模式实现了持久化层,提高了系统的开发效率和可重用性。基于Hibernate持久化层在Java企业级的应用开发中,具有较强的实用价值。In the hierarchical structure design,the persistence layer lies between the database layer and business logic layer,which realizes the separation of business logic and data access,and provides convenience for the developer. The ORM framework resolves the mismatching problem of the object oriented programming language and relational database. In this paper,analyze the advantages and disadvantages of several common persistence layer implementation technology. Through analysis and comparison for the commonly used ORM framework technology,research a Hibernate framework based ORM design and implementation of the persistence layer. In order to simplify the business logic layer calls,the DAO realizes the persistence layer,which enhances the efficiency and reusability of the system development. The Hibernate- based persistence layer has a strong practical value in the Java enterprise application.
关 键 词:持久化 对象关系映射 数据访问对象 JPA HibernateDAOSupport
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.38