The JPA Controller Classes from Entity Classes wizard generates JPA controllers based on entity classes in your application. You open the wizard by opening the New File wizard and selecting JPA Controller Classes from Entity Classes in the Persistence category.
The wizard generates one JPA controller class for each entity class that you select and places the controller class in the specified location. Each generated JPA controller class contains create, edit and destroy methods and methods for retrieving the entities and uses an entity manager for managing entity persistence. The wizard also generates exception classes used by the controller classes.
In this page of the wizard you set the following: