Java Reference
In-Depth Information
The next page in the wizard allows us to specify a package for newly created JSF
managed beans. Two types of classes are generated by the wizard, JPA Controllers
and JSF Classes , we can specify packages for both of these individually.
We are also given the opportunity to specify a folder for the JSF pages to be created,
if we leave this field blank, pages will be created in our project's Web Pages folder.
The value of the Session Bean Package and JSF Classes Package text fields default
to the package where our JPA entities reside. It is a good idea to modify this default
since placing the JSF managed beans in a different package separates the data access
layer classes from the user interface and controller layers of our application. After
clicking on Finish , a complete web application that can perform CRUD operations
will be created.
Search WWH ::

Custom Search