Jetty integration is explained in the Jetty docs available here:
https://www.eclipse.org/jetty/documentation/current/jndi-configuration.html#configuring-xa-transactionsNote: as always, make sure to use Atomikos datasources (not so clear from the Jetty docs).