java - How do JTA Transaction Managers deploy at runtime? -
trying wrap head around jta , have arbitrarily chosen bitronix impl because documentation easier (as opposed atmikos makes sign-up , register in order @ src/docs/jars/etc.).
if want use bitronix jta implementation (using tomcat & glassfish), basic architecture (which may basic architecture of jta itself)? is transaction manager actual server/runtime connect (like jms broker)? or api can configure , hit whenever need transaction?
my understanding of jta there is:
- your code
- a resource manager - adaptor acid-compliant persistence (like datastore or message broker)
- a transaction manager - manages transaction api calls between code , resource manager
is bitronix transaction manager , if separate application, separate jar/war has deployed alongside yours, or run "embedded" inside app? in advance!
it runs embedded inside tomcat, , accessible through jndi, other jta transaction managers. whole process of embedding bitronix tomcat described here.
note there no reason use bitronix glassfish, since glassfish full-stack java ee app server , has jta transaction manager.
Comments
Post a Comment