BTM Implementation details
BTM is made of multiple modules which map as close as possible the JTA API.
This page contains descriptions of those components and how they work internally once BTM 1.3 will be released, as versions 1.2 and before do not fully respect this modularization.
Bitronix implementation details
XA connection pooling framework