In WebSphere® Application Server, you can configure the JavaServer Faces (JSF) engine configuration parameters for optimal performance in a production server environment and for the needs of developers in a development environment.
The JSF engine parameters are case sensitive. If the value specified for a parameter is comprised of two or more words separated by spaces, you must add quotation marks around the value.
Specifies the number of views that are stored in the session when Server-Side State Saving is used. If set to true while client-side state saving is being used, reduces the number of bytes sent to the client by compressing the state before it is encoded and written as a hidden field. The default for this parameter is 15.
Specifies the number of logical views that are stored in the session when Server-Side State Saving is used. The default for this parameter is 15.
Defines an injection provider that is used for JSF annotations.
Defines a serialization provider that is used for serializing JSF objects into session.
Define the size of the response buffer for a JSF response. The default for this parameter is 1048.
The default for this parameter is 8192.
The timeout value used for client side state saving. Once the value set has been reached then the state is lost. Default is infinite.
The default for this parameter is false.
The default for this parameter is false.
The default for this parameter is false.
The default for this parameter is false.
The default for this parameter is false.
The default for this parameter is true.
The default for this parameter is true.
The default for this parameter is false.
The default for this parameter is true.
The default for this parameter is false.
The default for this parameter is true.
The default for this parameter is true.
The default for this parameter is false.
The default for this parameter is false.
The default for this parameter is /faces/myFacesExtensionResource.
The default for this parameter is true.
The default for this parameter is true.
The default for this parameter is false.
The default for this parameter is false.
The default for this parameter is org.apache.myfaces.renderkit.html.util.DefaultAddResource.
The default for this parameter is true.
The default for this parameter is true.
Set this option to true to serialize the state to a byte stream before it is written to the session. If this option is set to false, the state is not serialized to a byte stream. This option is only applicable if the state saving method is set to server. The default for this parameter is true.
Set this option to true to compress the serialized state before it is written to the session. If this option is set to false, the state is not compressed. This option is only applicable if the state saving method is set to server and if org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is set to true. The default for this parameter is true.
Defines the number of the latest views that are stored in session. This option is only applicable if the state saving method is set to server. The default for this parameter is 20.
Specifies the location where state information is saved. Valid values are 'server', which is saved in HttpSession, and 'client', which is saved as a hidden field in the form. The default for this parameter is server.
Use this parameter to specify a comma-delimited list of context-relative resource paths under which the JSF implementation looks for application configuration resources before loading a configuration resource named /WEB-INF/facesconfig.xml, if a resource exists.
Specifies the default suffix for extension-mapped resources that contain JSF components. The default for this parameter is .jsp.
Use this parameter to configure an alternate lifecycle ID.
Specifies that the JSP files in a Web module must be recompiled when the application is restarted because the implementation of JSF that is used has changed. After the application is restarted, the next time a JSP files is accessed for this module the JSP is recompiled against the selected implementation of JSF specified in the administration console. Subsequent calls to the JSP do not cause a recompile. The default setting for this option is false. Use this option for development and not in a production environment.
This parameter monitors Faces JavaServer Pages (JSP) files for modifications and synchronizes a running server with the changes without restarting the server. If this parameter is set to false or removed from the deployment descriptor, any changes made to Faces JSP files might not be seen by the server until it is restarted. Set this parameter to true while developing and debugging the Faces JSP files to improve the performance of the development environment.
Specifies to load the JSF runtime when the application server starts up. If this parameter is set to false or removed, JSF runtime is loaded and initialized when the first JSF request is processed. This might disable custom JSF extensions such as factories defined in the project.
Set the com.ibm.ws.jsf.JSF_IMPL_CHECK parameter to true to check at application restart if the SUN RI and MyFaces implementations were switched. If the implementation has switched, then the runtime removes any generated JSP files from the temp directory and the JSP file is retranslated the next time it is requested.