JBoss.orgCommunity Documentation
Serialization can be one of the most costly operations in a JSF application. This is especially true when using client side state-saving, but it can also come into play when you use server-side state saving as well.
JBoss AS6 ships with a serialization provider that allows you to use the JBossSerialization project with Mojarra 1.2 and 2.0. While your results will vary, using JBossSerialization may boost performance, especially with older versions of Java.
To enable JBossSerialization in Mojarra JSF, set the following context
parameter in your web.xml
file.
<context-param> <param-name>com.sun.faces.serializationProvider</param-name> <param-value>org.jboss.web.jsf.integration.serialization.JBossSerializationProvider</param-value> </context-param>