Home

This Chapter
-Chapter 15: The Persistence Layer
-The DAO Pattern
-Implementing the DAO Pattern
-Complex Data Structure
-Hibernate
-Summary

Table of Contents
-Introduction
-Chapter 1: Model 2 and Struts
-Chapter 2: Input Validation with Action Forms
-Chapter 3: The HTML Tag Library
-Chapter 4: Input Validation and Data Conversion
-Chapter 5: The Validator Plugin
-Chapter 6: The Expression Language
-Chapter 7: JSTL
-Chapter 8: The Bean Tag Library
-Chapter 9: The Logic Tag Library
-Chapter 10: Struts-EL, Nested, selectLabel
-Chapter 11: Message Handling and Internationalization
-Chapter 12: The Tiles Framework
-Chapter 13: Securing Struts Applications
-Chapter 14: The Config Object
-Chapter 15: The Persistence Layer
-Chapter 16: Object Caching
-Chapter 17: File Upload and File Download
-Chapter 18: Paging and Sorting
-Chapter 19: Preventing Double Submits
-Chapter 20: Early HttpSession Invalidation
-Chapter 21: Decorating Request Objects
-Chapter 22: How Struts Works

Previous
Next

 

Hibernate

Hibernate has gained popularity in the past few years as an add-on for J2EE and other applications. Its Web site (www.hibernate.org) advertises this free product as “a powerful, ultra-high performance object/relational persistence and query service for Java”. Using Hibernate, you do not need to implement your own persistence layer. Instead, you use a tool to create databases and related tables and determine how your objects should be persisted. Hibernate virtually supports all kinds of database servers in the market today, and its Hibernate Query Language provides “an elegant bridge between the object and relational worlds”.

More people will be using Hibernate in the near future, and it is definitely worth more than a look. If you have time, invest in it.

Previous
Next