0 Replies Latest reply on Nov 21, 2003 9:34 AM by mlipp

    EJBs and XA

      Hi,

      I have a session bean that retrieves some data from a database and writes it to another database. So I need distributed transactions. My datasources are declared as XA capable (based on oracle-xa-ds.xml).

      Now, do I have to use <res-type>javax.sql.XADataSource</res-type> ? Or can I simply use java.sql.DataSource (all I want to do is execute a statement, after all) and JBoss selects a wrapper that presents the XADataSource as DataSource without loosing the XA support?

      Regards,

      Michael