This content has been marked as final.
Show 1 reply
-
1. Re: Spring - JBoss : Transaction propagation
marklittle Dec 13, 2007 5:22 PM (in response to smougenot)"smougenot" wrote:
Using :
JBoss 3.2.3
Spring 2.0.6
I'm trying to re-use some business logic contained in an EJB hosted on a JBoss AS from an application running on another server (Tomcat) using Spring.
I also need to propagate the transaction initialised in Spring (because of ACID needs) : If the Spring application Rollback, the EJB must Rollback what was done (and vice-versa).
Hello again ;-)
If you want to flow transaction contexts between processes then you need to either use a standard such as JTS or Web Services Transactions, or make sure that both processes are running the same transaction manager (and that transaction manager supports distributed transactions). If you deploy JBossTS into Spring as well as JBossAS, then this is possible. Otherwise, your options are extremely limited.