Nov 7, 2018

Bean scope and binding attribute in JSF

If your managed bean is referenced by the binding attribute of a component tag, you
should define the bean with a request scope. If you placed the bean in session or
application scope instead, the bean would need to take precautions to ensure thread
safety, because javax.faces.component.UIComponent instances each depend on
running inside of a single thread.