[jboss-user] [JBoss Seam] - Re: question about components and persistence

2007-12-18 Thread [EMAIL PROTECTED]
anonymous wrote : At first it would seem to the neophyte like me a more natural way to keep the object itself and perhaps merge it at the beginning of each conversation. Thats a valid alternative approach, but doesn't work so nicely with EntityHome. anonymous wrote : (issue aside I wonder if th

[jboss-user] [JBoss Seam] - Re: question about components and persistence

2007-12-12 Thread gsegura
Thanks for you answer, although I don't see a hit to database at the beginning of every conversation much extra load I would like to know more about why keeping just the Id is better. At first it would seem to the neophyte like me a more natural way to keep the object itself and perhaps merge i

[jboss-user] [JBoss Seam] - Re: question about components and persistence

2007-12-03 Thread gsegura
I think I've found the precise answer in last reply of http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103356 the @Out scope doesn't rely on the scope of @In, it must declared individually: @Out(scope=ScopeType.SESSION) that's why I wasn't reaching same instance between calls great fo

[jboss-user] [JBoss Seam] - Re: question about components and persistence

2007-12-03 Thread [EMAIL PROTECTED]
This is my preferred solution http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamEntityHomeForLongRunningContexts View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109973#4109973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41

[jboss-user] [JBoss Seam] - Re: question about components and persistence

2007-12-03 Thread gsegura
I could, of course, load the user and collection from database every time, but I don't think this is the best way View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109965#4109965 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl