[jboss-user] [JBoss Seam] - Re: JSF performance tips in Seam applications
asookazian
do-not-reply at jboss.com
Wed Sep 26 19:03:36 EDT 2007
I don't think I saw this one yet:
don't code heavy logic or db access code (opening db connections are expensive) in getXXX() methods that are called from JSF EL (e.g. methods called from render or value attributes).
It's possible that your getXXX() methods may be called several times (unbeknownst to you until you use the debugger) when the JSF is rendering.
Apparently, there is nothing in the JSF spec that states the getXXX() methods must be called only once per rendering of the JSF page.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089097#4089097
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089097
More information about the jboss-user
mailing list