For better performance, I use these context parameters: <context-param> <param-name>org.apache.myfaces.COMPRESS_STATE_IN_SESSION</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.USE_ENCRYPTION</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.EXPRESSION_FACTORY</param-name> <param-value>org.apache.el.ExpressionFactoryImpl</param-value> </context-param>
Reference: http://myfaces.apache.org/core22/myfaces-impl/webconfig.html http://wiki.apache.org/myfaces/Performance http://tandraschko.blogspot.de/2012/08/increase-your-jsf-application.html 2014-08-28 17:53 GMT-03:00 cocorossello <[email protected]>: > Hi, > > I'm moving from glassfish 4.1 to tomEE 1.7.0. I started with PLUME for an > easier start, but now I want to use myfaces instead of mojarra (I've seen > some performance problems that might be my fault, but it improves a lot > with > myfaces). > > My question is if it's safe to just upgrade myfaces to last version (2.2.4) > or if I should stick with 2.1.x > > Thank you. > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Upgrade-myfaces-version-in-Tomee-1-7-0-tp4671458.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
