Este contenido no está disponible en el idioma seleccionado.
10.2.7. Named Beans and Alternative Beans
10.2.7.1. About Named Beans Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
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.