Atomikos and Bitronix work correctly for both a javax.sql.DataSource and a javax.jms.ConnectionFactory. Now, to Narayana + JCA.