[jboss-user] [JBoss Seam] - Re: When to use @Factory
SmokingAPipe
do-not-reply at jboss.com
Tue Jan 16 00:17:54 EST 2007
I think your option #1 is good when a conversation is starting. What if it needs to display this list several times i the conversation? You don't want to call findListOfStuff() every time it is displayed, because that might involve DB queries, etc.
Option #2 is ok if it's ok to regenerate the list every time.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002119#4002119
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002119
More information about the jboss-user
mailing list