1

Does Geronimo provides a standalone transaction manager? And if it does, is it possible to use it in Tomcat?

tshepang
  • 12,111
  • 21
  • 91
  • 136
Jerome Delattre
  • 1,289
  • 12
  • 10

3 Answers3

4

Apache OpenEJB is embedded implementation of Geronimo EJB container that includes Transaction Manager. OpenEJB can be embedded into Tomcat which is one of its intended usages.

topchef
  • 19,091
  • 9
  • 63
  • 102
  • 2
    Added note that now all this is Java EE 6 certified like JBoss or GlassFish. New name is Apache TomEE. Tomcat, with missing parts added. – David Blevins Feb 01 '12 at 19:30
2

If you specifically want the Geronimo TX manager, then see @topchef's answer.

If you're just looking for a free, open-source TX manager, though, the JOTM is a TX manager that embeds nicely inside Tomcat.

I should ask why you need this, though. If all you need to do is JDBC transactions against a single DataSource, then you don't need a TX manager. You only need one if you want to do full JTA transactions.

topchef
  • 19,091
  • 9
  • 63
  • 102
skaffman
  • 398,947
  • 96
  • 818
  • 769
1

AFAIK, Geronimo uses Jencks that can be used standalone. But I can't say it's heavily documented. I'd rather consider using Atomikos or JBossTM.

Related answer

Community
  • 1
  • 1
Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124