[JBoss-user] [JBoss Seam] - Re: UI independent conversation and Seam managed persistence

2006-05-24 Thread [EMAIL PROTECTED]
If you have these kinds of complex requirements it is probably better to use EJB container-managed persistence contexts. The basic pattern is to have an SFSB driving the conversation, that owns an extended PC. If you call methods of SLSB DAOs in the same txn, the extended PC will propoagate. If

[JBoss-user] [JBoss Seam] - Re: UI independent conversation and Seam managed persistence

2006-05-24 Thread t.skultinas
"[EMAIL PROTECTED]" wrote : If you have these kinds of complex requirements it is probably better to use EJB container-managed persistence contexts. | | The basic pattern is to have an SFSB driving the conversation, that owns an extended PC. If you call methods of SLSB DAOs in the same txn,

[JBoss-user] [JBoss Seam] - Re: UI independent conversation and Seam managed persistence

2006-05-24 Thread [EMAIL PROTECTED]
"t.skultinas" wrote : I have missed the point how SFSB Business component owning EM can control SLSB DAO which also contains EM. Or this EM from Business SFSB should be passed to DAO SLSB? The PC is propagated with the transaction context. As long as you hit the SFSB first, and pick up the exte

[JBoss-user] [JBoss Seam] - Re: UI independent conversation and Seam managed persistence

2006-05-24 Thread t.skultinas
Gavin, thanks for advice, I'll test the PC is propagation with the transaction context. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946280#3946280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946280

[JBoss-user] [JBoss Seam] - Re: UI independent conversation and Seam managed persistence

2006-05-24 Thread [EMAIL PROTECTED]
Check the EJB spec for the rules. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946312#3946312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946312 --- All the adv

[JBoss-user] [JBoss Seam] - Re: UI independent conversation and Seam managed persistence

2006-05-25 Thread t.skultinas
"[EMAIL PROTECTED]" wrote : Check the EJB spec for the rules. Gavin, your suggested persistence context propagation pattern is a little bit complex in my case. ex. I have business components as SB that should not be depended on Persistence API and DAO components which hides Persistence API as S

[JBoss-user] [JBoss Seam] - Re: UI independent conversation and Seam managed persistence

2006-05-26 Thread t.skultinas
Any ideas except application managed entity managers? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946815#3946815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946815 ---

[JBoss-user] [JBoss Seam] - Re: UI independent conversation and Seam managed persistence

2006-05-26 Thread [EMAIL PROTECTED]
Well, you knocked my idea on the head, in my view prematurely :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946851#3946851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946851 ---