Hi !

Weblogic 6.0 has the Transaction Manager bound to the JNDI name space. We can therefore get the handle to the TransactionManager

(please treat the following as pseudocode...)

TransactionManager tm = (TransactionManager)
ctx.lookup(javax.naming.TransactionManager)

enlist XAResources

tm.enlist(..);
tm.enlist(..);

and do a 2 phase commit.

I have not seen such examples on the Weblogic samples folder. Is this approach alright ? All the examples deal with EJB's handling the exception.

I'd like to put a message into a MOM queue and save the same on a database. XAResource handles are available for the same.

Thanks !

shanlz