On 7 Apr 2006, at 16:42, Ruslan Spivak wrote: > Unfortunately not many time these days, but here are my small > example(java and jython) i was able to construct with embedding > JOTM(running in the same JVM as application without using JNDI) in > standalone application and manually enlisting Jackrabbit's > XAResource to > JOTM TransactionManager. > > They are about testing rollback and commit. > In addition to Jackrabbit's jars add to your classpath also > jotm.jar and > jotm_jrmp_stubs.jar Thanks, that exaclty confirms what I had in mind: enlist at session creation, the use a user transaction. I'm just not exactly sure yet how to deal with multiple concurrent sessions in the same thread, that have to be tied to a different transaction. Do we *have* to have one transaction per thread? Or maybe tm.suspend() and tm.resume() can be used for that, if they're not too costly. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
Hosting: Nuxeo: Zope service provider
This page is a mailing archive for one of the Nuxeo projects.
[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 ReleasedCorporate 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