[Cps4] java transactions

Bogdan Stefanescu bs at nuxeo.com
Mon Apr 3 16:03:16 CEST 2006


Here is a document that may help you:
http://jotm.objectweb.org/current/jotm/doc/howto-integrate-jotm.html
I will look in jackrabbit sources to see how it is using transaction
managers

Bogdan

Florent Guillaume wrote:

> On 3 Apr 2006, at 14:49, Ruslan Spivak wrote:
>
>> On 3 Apr 2006, at 14:12, Florent Guillaume wrote:
>>
>>> Can any Java coder provide me with examples of how to register
>>> JackRabbit with a transaction manager like jotm.objectweb.org, and
>>> abort and commit a transaction?
>>> I'll be using this in Jython to prototype stuff.
>>
>>
>> And would be nice to know also Jackrabbit's own transaction status and
>> Jackrabbit transactions vs jackrabbit + jotm. I already read some 
>> pieces
>> of information but the whole picture is not clear yet for me.
>
>
> From what I understand, in the Java world there are XA (distributed 
> transaction) resources and XA managers. Many kind of libraries are XA 
> resources, including JackRabbit, which mean that they register 
> themselves with a XA manager if one is present.
>
> Then all transaction begin/commit/abort goes through the manager, 
> which itself redispatches it to all registered resources, and does 
> commit using two-phase commit.
>
> What I don't know is how to instanciate a XA manager, and make sure 
> JackRabbit uses it.
>
> Florent
>


-- 

Bogdan Stefanescu - Apogee project Team Leader

Nuxeo - Open Source ECM - www.nuxeo.com
Apogée - the rich client platform for ECM
http://apogee.nuxeo.org/ - http://www.nuxeo.com/en




More information about the cps4 mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider

About

This page is a mailing archive for one of the Nuxeo projects.

Project News

[2008/11/18] Nuxeo 5.2.M3 and Nuxeo WebEngine 1.0.RC released![2008/11/13] First Nuxeo Developer Day (1st Dec. 2008) - Still a few seats available[2008/11/13] First Nuxeo Survey[2008/10/08] Nuxeo 5.1.6 Released

Corporate News

[2008/11/20] Nuxeo secures 2 million Euros and strengthens its board of directors and corporate governance[2008/11/17] Nuxeo joins OASIS[2008/10/23] IFRA Expo 2008 Amsterdam, October 27th to 30th, Booth 9363, Hall 9[2008/10/08] Nuxeo announces the appointment of Carina Rimoli as Indirect Sales Manager