All,
I am using
EJB CMT and deep inside my call stack, I need to register a synchronization. How do I get access to javax.transaction.Transaction ? Since I am doing CMT, using UserTransaction is out of the window.
I could make my ejbs implement SessionSynchronization, and provide a registering mechanism, bind the register to a
thread local variable. But thats a lot of work.
I was wondering if there is a way for an arbitrary method to lookup the current javax.transaction.Transaction object.
SJCP, SCBCD, SJCD, SCDJWS, SCEA (Part I)