Skip to content

Instantly share code, notes, and snippets.

@jeffsheets
Last active December 10, 2015 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffsheets/4399922 to your computer and use it in GitHub Desktop.
Save jeffsheets/4399922 to your computer and use it in GitHub Desktop.
Jetty 8 JTA via JNDI lookup in Spring with Atomikos 3.8
<New id="tmjndi" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg></Arg>
<Arg>java:/TransactionManager</Arg>
<Arg>
<New class="com.atomikos.icatch.jta.UserTransactionManager"/>
</Arg>
</New>
<New id="tx" class="org.eclipse.jetty.plus.jndi.Transaction">
<Arg>
<New class="com.atomikos.icatch.jta.UserTransactionImp"/>
</Arg>
</New>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment