Search code examples
javahibernatejta

Java Transaction Manager


I am started with doing some searches for a transaction manager which could be used in JAVA, I stumbled upon JTA and hibernate as well as JOTM, however - when I search after Java Transaction ... well I mainly see results from JTA - which seems to be the most dominant transaction manager, do you guys now any other Transaction Managers?


Solution

  • JTA is a standard API for transaction management in Java. There are many implementations of this API (basically, each Java EE server has its own implementation, and there are other ones, like JOTM, Bitronix, Atomikos for example).

    Having a standard API allows developing a transactional application which is portable across transaction managers/application servers. A transaction manager which would not respect this API would shoot itself in the foot, because nobody would use it.

    See Atomikos vs JOTM vs Bitronix vs?