SpringMVC3和hibernate3的整合
文档: SpringMVC3AndHibernate3.rar
源码:
mySpringMVCHibernate.part1.rar
mySpringMVCHibernate.part2.rar
[b][color=red]
在applicationContext.xml里面,有过多的配置,其实事物,DAO,Services等都应该用annotation去做,所以,更简洁的配置文件可以参考这里]:[/color][/b]
[url]http://xlaohe1.iteye.com/blog/1139028[/url]
。
[b][color=red]最新代码,对Hibernate,applicationContext.xml简化了配置,使用了注解,增加service层。:[/color][/b]
[color=red]这里的事务有问题,事务解决请看[/color]: [url]http://panyongzheng.iteye.com/admin/blogs/1418400[/url]
文档: SpringMVC3AndHibernate3.rar
源码:
mySpringMVCHibernate.part1.rar
mySpringMVCHibernate.part2.rar
[b][color=red]
在applicationContext.xml里面,有过多的配置,其实事物,DAO,Services等都应该用annotation去做,所以,更简洁的配置文件可以参考这里]:[/color][/b]
[url]http://xlaohe1.iteye.com/blog/1139028[/url]
。
[b][color=red]最新代码,对Hibernate,applicationContext.xml简化了配置,使用了注解,增加service层。:[/color][/b]
[color=red]这里的事务有问题,事务解决请看[/color]: [url]http://panyongzheng.iteye.com/admin/blogs/1418400[/url]

本文提供了一套简洁的SpringMVC3和Hibernate3整合方案,通过使用注解减少applicationContext.xml配置,并增加了Service层。同时,文章指出配置中存在事务问题,并提供了解决方案链接。
97

被折叠的 条评论
为什么被折叠?



