Java Reference
In-Depth Information
As we can see, NetBeans generates a folder for each of our entities under the Web
Pages folder of our application. Each of the folders has a Detail , Edit , List , and New
XHTML files. These files are JSF pages using Facelets as their view technology. The
Detail page will display all properties for a JPA entity, the Edit page will allow users
to update information for a specific entity, the List page will display all instances of a
specific entity in the database, and the New page will provide functionality to create
new entities.
The generated application is a standard JSF application. We can execute it by simply
right-clicking on the project and selecting Run . At that point the usual things
happen, the application server is started if it wasn't up already, the application is
deployed, and a web browser window is opened displaying the welcome page for
our application.
Search WWH ::

Custom Search