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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...