Table of Contents

JPA

A JPA controller class (DAO) is a wrapper for an entity class that provides clients with access to the database through the methods in the entity class.

The JPA controller class contains the logic for creating, editing and destroying an entry in the data source, getting all of the entries in the data source, and getting a specific entry in the data source.

JSF

Managed beans acts as JSF controllers (as in the “C” in MVC)