This content has been marked as final. Show 1 reply
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.