|
|
Page 1 of 13 articles
|
|
Hibernate vs. Spring
So. In the previous post, I talked about integration testing. An integration test runs through Webwork, Hibernate and Spring and expects a certain amount of scaffolding to work right.
|
Developing J2EE Applications Using Hibernate Annotations and Spring MVC
The first part of this three-part series introduced you to the latest JDK5 annotations feature. In this part, you will learn how to apply these annotations to develop real-world applications. With the combination of Hibernate annotation and Spring MVC, developers can drastically reduce the time at the configuration level. No more artless mapping files, no more klutzy XDoclet tags; life becomes so easy! This article describes a step-by-step procedure of how to build, deploy, and run a simple J2EE-based Web application using the above-mentioned technologies.
|
|
|
Using Spring with JDO and Hibernate
In an earlier excerpt from Spring: A Developer's Notebook, authors Bruce Tate and Justin Gehtland kicked off their discussion of object-relational (OR) persistence with a look at iBATIS. While compelling for some, this option requires serious involvement with SQL. In this excerpt from Chapter 5, they move on to frameworks that more thoroughly isolate your Spring app from SQL.
|
Bridge the gap between Struts and Hibernate
Hibernate and Struts are currently among the most popular open source libraries on the market. Effectively, they are the default developer selections among competing libraries when building Java enterprise applications. Although they are often used in conjunction with one another, Hibernate was not primarily designed to be used with Struts, and Struts was released years before the birth of Hibernate. To put them to work together, some challenges remain. This article identifies some of the gaps between Struts and Hibernate, particularly related to object-oriented modeling. It also describes a solution for bridging these gaps that involves an extension to the Struts framework. All Web applications built upon Struts and Hibernate can derive benefit from this generic extension.
|
Querying for persistent objects without a query language
This article describes an easy-to-maintain solution for the persistence of form-entry data within Web applications. All queries are compiler checked and implemented in a programmatically object-oriented way, without using a query language. Furthermore, the mapping between user interface and business logic is clearly decoupled from the mapping between business logic and data storage.
|
|
|
Real-World Experiences With Hibernate
This article is an overview of some of the lessons that we've learnt with Hibernate at Shine. In it we'll share with you our thoughts on Hibernate after using it on a couple of large projects. We'll also present a liberal sprinkling of real-world examples. We hope that by reading this article, you'll learn from the experiences that we've had when using Hibernate.
|
|
|
Naked Objects 3.0: Integration with Hibernate
In this article, the Naked Objects group looks at new features included in the Milestone 1 release of version 3.0 of the Naked Objects framework. Among the changes are a POJO programming model and integration with Hibernate.
|
Hibernate can meet your validation needs
While it's important to build data validation into as many layers of a Web application as possible, it's traditionally been very time-consuming to do so, leading many developers to just skip it -- which can lead to a host of problems down the road. But with the introduction of annotations in the latest version of the Java platform, validation got a lot easier. In this article, Ted Bergeron shows you how to use the Validator component of Hibernate Annotations to build and maintain validation logic easily in your Web apps.
|
|
Next>> |