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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...