Sample:
JPA JSF Employee List application
The Employee List
sample demonstrates the use of Java™ Persistent
API (JPA) to access employee data. In this sample, the application
maps persistent
entities to columns in a database table and presents the information
on a
Web site where users can create, read, update, and delete data.
Time required
to import the sample: 5 minutes
Prerequisites:
- Install WebSphere® Application
Server version 7.0:
- Open the IBM® Installation
Manager.
- Click Install. The Install
Packages page opens.
- In the package list, select IBM
WebSphere Application Server
Version 7.0 Test Environment, then click Next.
- Follow the instructions in the Installation Manager to install WebSphere Application
Server Version 7.0.
- Install the SDO tools:
- Open
the IBM Installation
Manager.
- Click Modify.
- In
the Feature list, click .
- Select SDO - Domino
and JDBC mediators then click Modify.
Important: This
sample imports with errors. Before
running this sample on a server, you need to configure the JPA persistence
file to correct the errors. Instructions are provided below.