Book Image

Tapestry 5: Building Web Applications

Book Image

Tapestry 5: Building Web Applications

Overview of this book

Table of Contents (17 chapters)
Tapestry 5
Credits
About the Author
About the Reviewers
Preface
Foreword
Where to Go Next

Preparing the Database


The package you download from the previously mentioned website will be named something like db40-6.3-java.zip, although the version number might be different. In its lib subfolder, you will find a number of JAR files—for different versions of Java. We need the one that works with Java 5, it will be named like db4o-6.3-java5.jar. Copy this file to the WEB-INF/lib subdirectory of the Celebrity Collector project.

The last piece of "configuration" is to decide where you are going to store the database file on your hard drive. You can name it whatever you wish and you will be able to copy, distribute, or back it up like any other file. Let's say our file will be at C:\tapestry5\data\celebrities.dat.