I have a recollection that someone worked on this a while back, but can't remember whether it was finished or not. I recommend searching this forum and the dev mailing list.
Okay thanks. I have one technical question:
Do I need to implement my own ConnectionPool for the RA? The sample JCA seems to plug into JBoss's connection pooling. What exactly are the hooks for this?
Pooling is handled by the ConnectionManager. The spec says you should include a default connection manager with your adapter, but if you intend to use it only with an app server this is not really necessary. In any case a default ConnectionManager doesn't need to do pooling. You need to implement ManagedConnectionFactory, ManagedConnection, and something like cci.ConnectionFactory and cci.Connection: there may be better choices of actual interface. If you support transactions you will have to implement either spi.LocalTransaction or XAResource.