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 you don't want the PC to propagate, call a REQUIRES_NEW 
method.

Make sense?

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

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


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to