Of course you're getting stale data -- you're using SESSION scope and an 
extended persistence context that never changes during the bean's lifetime.  
Same PC, same isolated view of the database for the whole session.

Seam certainly doesn't discourage using Stateful Session Beans, it discourages 
using session *scope* for anything that isn't truly session-global.

I recommend using stateless beans for simple search and view pages, and 
conversation scoped (the default) when you want to manipulate the results 
without re-querying.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026027#4026027

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026027
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to