This discussion is archived
4 Replies Latest reply: Dec 15, 2005 8:19 AM by 807581 RSS

Lookup the transactionManager in Bean Managed Transaction Demarcation

807581 Newbie
Currently Being Moderated
Hi,
We are trying to implement a suspend and resume transaction mechanism.
For this, we need access to the TransactionManager implementation.

Is it recommended to lookup the transactionManager by:
(TransactionManager)ic.lookup("javax.transaction.TransactionManager");

Can anyone state if this is standard methodology?
Is it reliable with any J2EE implementation?

Thanks,