无需容器的对象关系映射--用 Hibernate 和 Spring 开发事务持久层
摘要:当您自以为已经了解了所有开发工具时,肯定又会冒出一个新的工具。在本文中,developerWorks 的固定撰稿人 Rick Hightower 用一个真实世界的例子向您介绍两个最激动人心的企业新技术。Hibernate 是一个对象关系映射工具,而 Spring 是一个 AOP 框架和 IOC 容器。Rick 介绍了如何结合这两者,为企业应用程序构建一个事务持久层。
阅读全文
posted @
2006-11-27 19:23
Gardener
阅读(665)
推荐(0) 编辑
Hibernate作为数据持久层的分析和研究
摘要:在Java技术中有许多方法可以对数据进行持久化,持久层也是Java应用程序中最重要的部分之一。本文在分析了3种持久层主流解决方案的基础上,介绍了O-R映射开源项目Hibernate,并介绍了在Web应用开发中怎样配置Hibernate的环境,并使用它建立一个应用。
阅读全文
posted @
2006-11-25 19:58
Gardener
阅读(1322)
推荐(0) 编辑
NHibernate(Part2)
摘要:In my last article, I introduced NHibernate, which is an open-source object/relational mapping framework newly available to .NET developers. I have been rightly criticized (both here and in other forums) for failing to emphasize that NHibernate is but one of many available ORM solutions available, and in fact, the number of open source plus commercial ORM frameworks for .NET is currently over 50. As I had to pick one, though, NHibernate was an obvious choice for me since I’ve been doing so much
阅读全文
posted @
2006-11-23 18:13
Gardener
阅读(743)
推荐(0) 编辑
NHibernate(Part1)
摘要:Chances are, as a .NET developer, you are already intimately familiar with the ADO.NET dataset. If you are an “enterprise” developer, those odds approach 100%. Database interaction via the FCL centers around retrieving a static snapshot of some portion of the database and manipulating it via the dataset, which mimics the RDBMS in almost every way: the data is tabular, relationships between data are modeled by foreign keys, data is largely untyped. Since the dataset provides a static, in-memory c
阅读全文
posted @
2006-11-23 18:09
Gardener
阅读(789)
推荐(0) 编辑