Pages

Wednesday, July 18, 2012

Excellent resources on JSF 2 Tuning and other miscellaneous tips

Trace strings to enable RichFaces logging in WAS org.richfaces.log.Resource=all and similarly for other parts of RichFaces

RESOURCE("Resource"),
RENDERKIT("Renderkit"),
CONFIG("Config"),
CONNECTION("Connection"),
APPLICATION("Application"),
CACHE("Cache"),
CONTEXT("Context"),
COMPONENTS("Components"),
WEBAPP("Webapp"),
UTIL("Util"),
MODEL("Model");

RichFaces 4 annotations not being recognized in WebSphere Application Server
see https://community.jboss.org/message/747005#747005
WebSphere application Server keeps a file called WAS_HOME/properties/amm.filter.properties that excludes the scanning of certain packages for annotations for performance reasons. see http://pic.dhe.ibm.com/infocenter/wasinfo/v8r0/topic/com.ibm.websphere.nd.doc/info/ae/ae/trun_app_reduce_annot.html If you want RichFaces 4 and Richfaces-bootstrap to work correctly with WAS please remove org.richfaces from the list of Ignore-Scanning-Packages


Excellent resources for JSF tuning
http://blog.eisele.net/2009/10/jsf-facelets-myfaces-and-richfaces.html
http://javaspecialist.wordpress.com/2010/05/30/performance-tuning-of-seam-jsf-richfaces-for-webapps/
http://wiki.apache.org/myfaces/Performance
http://planet.jboss.org/post/performance_tuning_of_seam_jsf_richfaces_for_webapps
These contain all the web context parameters and more to improve the performance of your JSF web application.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.