<managed-bean>
<managed-bean-name>beanName</managed-bean-name>
<managed-bean-class>BeanClasss</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
Is it mandatory to specify the scope of a manage bean in JSF 1.1. If it it is not mandatory, then what is the default scope?
The
<managed-bean-scope>entry is mandatory for thefaces-config.xmlto be parsed correctly. Omitting it would result in a XML parsing error. However, next torequest,sessionandapplicationJSF also supports a scope ofnone.