hi Antoine, i don't know where you want to run jackrabbit (ApplicationServer)
if you want to use xa transaction's managed by the container you must define Jackrabbit as a JCA ResourceAdapter. after that you must define a J2C ResourceFactory and grab this resource through JNDI. if you are now inside a SessionBean with a Transaction associated jackrabbit will use it ... there is some rarely documentaion out there but here is a "sample" http://wiki.apache.org/jackrabbit/JackrabbitOnJBoss or as Stéphane See springmodules JCR support greets claus
