jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: JCR-RMI, SPI, WEBDAV, and Sling's REST
Date Wed, 25 Nov 2009 11:41:50 GMT
On Tue, Nov 24, 2009 at 19:53, ChadDavis <chadmichaeldavis@gmail.com> wrote:
>> The TransientRepository is not a tutorial-type thing, it's to be used
>> when you want to run Jackrabbit in your standalone application.
>>
>
> It says that it destroys the repository when the last session expires,
> then recreates the repo when another new session arises . . . this
> seems kind of like a huge performance hit.  Maybe I'm
> misunderstanding?

That's an optimization, the underlying repository is the same. You can
either keep one session open (for example for admin tasks or
observation) or simply use the RepositoryImpl directly.

BTW, for using spi2davex I wrote some info in another mail thread:
http://markmail.org/message/nzcbrf27b2edkbzr

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message