From: joël Winteregg <joel.winteregg@gmail.com>
To: Garber, Mikhail <mgarber@amazon.com>
Cc: pgsql-jdbc <pgsql-jdbc@postgresql.org>
Subject: Re: Recommendations for Java XA toolkit to use with Postgresql
Date: Wed, 21 Nov 2007 22:45:55 +0100
Message-ID: <1195681555.6421.21.camel@hatman> (raw)
In-Reply-To: <5B6EE82A8CF89149BA864458DB6053470385FBC0FA@EX-SEA5-A.ant.amazon.com>
References: <5B6EE82A8CF89149BA864458DB6053470385FBC0FA@EX-SEA5-A.ant.amazon.com>
Hi Mikhail,
I'm not a JTA expert but I have been trying several TransactionManager
regarding my needs (a specific standalone J2SE RMI server which is using
Hibernate as Postgresql "driver"). So I tried several TransactionManager
with Hibernate:
- The first one was Atomikos solution but I had many problems and was
not able to make it work using postgresql-jdbc. You can check the
following URL for more informations:
http://www.atomikos.org/forums/viewtopic.php?t=1280 (at the end, it
seems that Atomikos has compatibility problems with postgresql-jdbc)
- The second one was Jboss implementation, but using the following
example
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheHibernateTransactionsStandaloneExample I was not able to make it work too (but I must say, I didn't tried too much to make it work because of the no-LGPL licence)
- The third one was BTM and that was a good try ! Now i'm using it and
it just work like a charm. While I was testing it using PG logs, I just
found a strange behaviour in postgresql-jdbc XA
(http://archives.postgresql.org/pgsql-jdbc/2007-11/msg00051.php) but it
is now fixed (next postgresql-jdbc release will include the fix).
Here is maybe what you need for a first test using BTM and Spring:
http://docs.codehaus.org/display/BTM/Spring+Framework
BTM seems to be a small project developed by a single Belgium guy but it
was the best solution i found... Maybe you will find some more JTA
framework on Spring web page !
For JOTM, I never tied it because it seems to be a bit old (the last
news on their website is from: 16th May 2005 and the last install
package from: May 17, 2005)
I hope it helps a bit !
Regards,
Joël
On Wed, 2007-11-21 at 08:25 -0800, Garber, Mikhail wrote:
> I need to run distributed transactions against several PG databases. What do people recommend as far as the overall solution: which transaction manager, container, etc? Jboss, JOTM, BTM, or what? Easy Spring integration preferred.
>
> TIA
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: joel.winteregg@gmail.com, mgarber@amazon.com
Subject: Re: Recommendations for Java XA toolkit to use with Postgresql
In-Reply-To: <1195681555.6421.21.camel@hatman>
References: <5B6EE82A8CF89149BA864458DB6053470385FBC0FA@EX-SEA5-A.ant.amazon.com> <1195681555.6421.21.camel@hatman>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox