Now i want to create a global transaction on wsad. i call a ejb on wsad ,then call another ejb on jboss. function is transfer 100$ from oracle to db2 with two ejbs. I want to know how to complish the transaction based xa .use two-phase commit. Who can tell me the steps to do it.and how to configure datasources ,jndi,xid.and so on. My environment is websphere ,jboss-head.oracle9 and db2.