10.2.7. Named Beans and Alternative Beans
10.2.7.1. About Named Beans
A bean is named by using the
@Named
annotation. Naming a bean allows you to use it directly in Java Server Faces (JSF).
The
@Named
annotation takes an optional parameter, which is the bean name. If this parameter is omitted, the lower-cased bean name is used as the name.