The Employee List sample demonstrates the use of Java Persistent
API (JPA) to access employee data. In the 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.
To create a Web page that accesses data using JPA technology:
- Create a dynamic Web project and activate the JavaServer Faces (IBM Enhanced) facet and
the Java Persistence facet.
- Create Java Persistence entities from data in a database.
- Display the JPA data on a Web page, using JSF components, by dragging
the JPA component from the Data and Services drawer on the palette.
For more information on accessing data in a Web
application with JPA, see the Help topic about Help: Adding data to a Web page using
JPA.