This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Suppose I have a plain java client code like this.
now, I want theBigFatMethod() to be transactional. The easiest solution would be if I could create a transaction context and pass it to all the methods. Is it logical to think this way?? Can I really share a transaction context across j2ee containers? Or is it a two phase commit that I need?? Any hints / links will be greately appriciated. Regards, Sajid.
Hi, got the answer. transactions can be propagated across application server if the servers supports distributed transaction. transaction context propagation is the main concept of distributed Tx management and ejbservers that supports distributed transaction propagation must follow OMG1.1 protocol. So transactions context are propagated over iiop. regards, Sajid