Before you begin, you need to import the required resources for
this tutorial: a sample Derby database and a set of Web pages.
The main purpose of this tutorial is to teach you how to add Java™ Persistence
API (JPA) support to a project and to how to use the JPA tools create and
configure JPA entity beans and JPA manager beans. To complete this tutorial,
you will need to access a sample Derby database. To test your work, you will
run a sample Web application that uses JPA data bound to Java Server
Faces (JSF) JSP files to access and manipulate data in the database.
The
tutorial does not go into the detail of designing the look and feel of a Web
site or working with JSF. Accordingly, the Web site design has been prepared
for you already.
The sample database and the Web pages needed to complete
this tutorial are included in a ZIP file. This lesson will take you through
the steps of importing the ZIP file so that you can use the database and Web
pages. You will also set the target server for the dynamic Web project.
To
import the content of the ZIP file: