[Neo4j] Neo4j with Tomcat...need a transaction manager

etc3 etc3 at nextideapartners.com
Sat Jul 16 03:23:58 CEST 2011


Michael,

If I use the default trx manager in neo4j, what connection pool driver
should be used in Tomcat?

-----Original Message-----
From: user-bounces at lists.neo4j.org [mailto:user-bounces at lists.neo4j.org] On
Behalf Of Michael Hunger
Sent: Friday, July 15, 2011 9:05 PM
To: Neo4j user discussions
Subject: Re: [Neo4j] Neo4j with Tomcat...need a transaction manager

Yes they were added.

The XA-TX-Manager is configurable in Neo4j (defaults to our own but if you
have an external one like JOTM or Atomikos) then you can configure those to
be used.

Example implementation for JOTM:
https://github.com/digitalstain/JOTMServiceProvider

Implementation in neo4j is here:
https://github.com/neo4j/community/tree/master/kernel/src/main/java/org/neo4
j/kernel/impl/transaction

Cheers

Michael

Am 16.07.2011 um 02:43 schrieb etc3:

> Thanks, Micheal.
> 
> The blog post from Chris was from last year; were those changes for 
> JOTM ever added to neo4j?
> 
> -----Original Message-----
> From: user-bounces at lists.neo4j.org 
> [mailto:user-bounces at lists.neo4j.org] On Behalf Of Michael Hunger
> Sent: Friday, July 15, 2011 8:00 PM
> To: Neo4j user discussions
> Subject: Re: [Neo4j] Neo4j with Tomcat...need a transaction manager
> 
> Springsource also provides/is working on their own tomcat based XA TM.
> Perhaps you'd like to check that out.
> (http://forum.springsource.org/showthread.php?76843-JTA-for-Tc-Server&
> p=2583
> 83#post258383)
> 
> Otherwise there is only JOTM left.
> 
> Neo4j can integrate with those TM. 
> See also these blog posts by our team member Chris Gioran:
> http://digitalstain.blogspot.com/2010/11/using-jotm-as-transactionmana
> ger-in
> .html
> http://digitalstain.blogspot.com/2011/02/springy-ouside-graphy-inside.
> html
> http://digitalstain.blogspot.com/2010/11/neo4j-internals-transactions-
> part-3
> -as.html
> 
> Internally it uses also 2PC with the nioneo store and lucene.
> 
> Cheers
> 
> Michael
> 
> Am 16.07.2011 um 01:37 schrieb etc3:
> 
>> We plan on using neo4j as the database for our website, which will 
>> run on Tomcat. Also, we'll be using ActiveMQ for sending messages 
>> within neo4j transactions, so that leaves the question of what to use 
>> for the transaction manager. Atomikos, JBossTM comes to mind, are we 
>> missing
> anything obvious?
>> Does neo4j provide anything out-of-box for transactions management?
>> 
>> 
>> 
>> Thanks
>> 
>> Jaf
>> 
>> _______________________________________________
>> Neo4j mailing list
>> User at lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
> 
> _______________________________________________
> Neo4j mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
> 
> _______________________________________________
> Neo4j mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
User at lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user



More information about the User mailing list