CHAPTER 3Building a Simple Application

In this chapter, you'll take another look at some of the steps necessary to get the example from Chapter 1 up and running. You'll also build a somewhat larger application from scratch. All of the code in this book is available for download from the Apress site (

Installing the Tools

To run the examples in this chapter, you will need to install a number of tools. You will require a JDK, the Hibernate and Hibernate Tools distributions, the Ant build tool, and the HSQLDB database. Table 3-1 lists the specific tools you will need and where you can find them.

Table 3-1. The Tools Used in This Book

Tool Version Download Location
Hibernate 3.2.0
Hibernate Tools ...

Get Beginning Hibernate: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.