A CRUD (Create, Read, Update, and Delete) application is a simple programming pattern that allows you to read and manage the data in a data source. The IDE provides support for this common programming task by letting you quickly generate code for CRUD functionality based on entity classes in your project.
A JSF 2.0 application that implements CRUD functionality typically contains the following artifacts.
You can use the JSF Pages from Entity Classes wizard to generate the above artifacts for your application, based on entity classes contained in the project. See Generating JSF Pages from Entity Classes for more details.
If your project does not use JSF, you can use the JPA Controller Classes from Entity Classes wizard. This wizard generates CRUD controller classes based on the entity classes in the project. One controller for each entity class is created and placed in the same package as the entity class.