首页 | 本学科首页   官方微博 | 高级检索  
     

基于Spring与Hibernate的J2EE持久层解决方案
引用本文:谭待,谭人杰. 基于Spring与Hibernate的J2EE持久层解决方案[J]. 铁路计算机应用, 2007, 16(10): 41-44
作者姓名:谭待  谭人杰
作者单位:华中科技大学,计算机科学与技术学院,武汉,430074%武汉铁路局,信息技术处,武汉,430071
摘    要:通过Spring与Hibernate的整合,探讨如何有效地应用Spring的核心技术IOC和AOP实现J2EE应用的持久层解决方案.并从实用角度阐明用Spring IOC动态注入Hibernate SessionFactory和数据源,用Spring DAO简化Hibernate的持久化操作;用Spring AOP实现声明式事务管理.

关 键 词:Spring   IOC   AOP   Hibernate   J2EE
文章编号:1005-8451(2007)10-0041-04
收稿时间:2007-10-15
修稿时间:2007-05-25

Solution of J2EE persistent tier based on integrating Spring with Hibernate
TAN Dai,TAN Ren-jie. Solution of J2EE persistent tier based on integrating Spring with Hibernate[J]. Railway Computer Application, 2007, 16(10): 41-44
Authors:TAN Dai  TAN Ren-jie
Abstract:It was presented a solution of J2EE persistent framework by integrating Spring with Hibernate. The solution was provided by Applying Spring IOC and AOE Firstly, the object dependencies of Hibernate SessionFactory and DataSource were injected by Spring IOC. Secondly, the Hibernate CRUD was addressed by Spring DAO support in a universal way. Finally, the transaction management was added to business logical methods by Spring AOP in the way of declaration.
Keywords:Spring  IOC  AOP  Hibernate  J2EE
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《铁路计算机应用》浏览原始摘要信息
点击此处可从《铁路计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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