[jboss-user] [JBoss Seam] - Re: Singe Page Application and Conversations

gavin.king@jboss.com do-not-reply at jboss.com
Thu Jul 5 15:31:12 EDT 2007


OK, I really think you're doing Bad Stuff here.

(1) never try to have a managed entity / persistence context around for more than a single optimistic transaction. If you try to have a managed entity sitting there for an indefinite period of time, you will get into lots of problems when other users update data underneath you.

(2) when a tx fails, you MUST throw away the PC and start again - that is the rule of PCs.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061005



More information about the jboss-user mailing list