@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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to