Java Reference
In-Depth Information
To take complete advantage of Java EE features such as dependency injection, we
need to make our DAO a JSF managed bean. This can be accomplished by simply
opening
faces-config.xml
, clicking its
XML
tab, then right-clicking on it and
selecting
JavaServer Faces | Add Managed Bean
.
We get the
Add Manged Bean
dialog as seen in the following screenshot: