[jboss-user] [JBoss Seam] - What is the difference between EJB and POJO transactions?
grettke_spdr
do-not-reply at jboss.com
Fri Apr 20 20:56:22 EDT 2007
Reading the excellent Yuan/Heute book, he talks about the fact that transactions are enabled by default for all EJB 3 session beans. The transaction begins when the conversation begins, and ends when the conversation ends. It goes on to talk about POJO transactions, this is where it gets a bit confusing.
POJOs have two transactions, the first spanning the beginning of the update model values, the second spans the render phase. Does this reflect the fact that the default conversation goes from the request to the full rendering of the next page?
Using POJOs, is it correct to say that if you start a conversation, the transaction won't finish until that conversation is ended, just like with EJBs?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039478#4039478
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039478
More information about the jboss-user
mailing list