You don't need to use the Arjuna Transactional Driver. This is the point of JCA, we do this for you.
Your lookup would be:
InitialContext ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup("java:/BasicService01DS"); Connection conn = ds.getConnection()
JCA handles transaction enlistment for you so there is no need for a special wrapper in this case.
Thanks. I'm not as knowledgeable on JCA as I should, I guess. A quick follow up on scope. Over what boundaries will JCA's transaction enlistment traverse? Will it enlist any XA data source used in the same thread? Across contexts? Across JVMs?