Java Reference
In-Depth Information
After adding all the necessary components to the page, we need to bind each text field
to a property in the
Customer
JPA entity. In order to do this, we need to add this entity
as a managed bean. We need to open
faces-config.xml
, click on the
XML
tag, then
right-click on the file and select
JavaServer Faces
|
Add Managed Bean...
.
We need to enter a name for the new managed bean, select or type the fully qualified
name of the managed bean class, and select a scope for the new managed bean.