[jboss-user] [JBoss Seam] - Re: Best Practice Question - Avoid Excessive Bijection
mgrouch
do-not-reply at jboss.com
Fri Nov 16 12:47:10 EST 2007
@Out outjection into event scope should be used for better EL performance.
If you have a lot of
#{bean.subBean.subSubBean.prop1}
#{bean.subBean.subSubBean.prop2}
#{bean.subBean.subSubBean.prop3}
#{bean.subBean.subSubBean.prop4}
you should outject bean.subBean.subSubBean as subSubBean
and use
#{subSubBean.prop1}
#{subSubBean.prop2}
#{subSubBean.prop3}
This will perform better.
Remember with current EL implementation each dot '.'
is a reflection call when it is evaluated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105607#4105607
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105607
More information about the jboss-user
mailing list