Which one would you recommend? A org.apache.jackrabbit.core.RepositoryImpl ?



On Tue, Jun 17, 2014 at 12:42 PM, Chris Poulsen <[email protected]>
wrote:

> Yes, you can keep a transient repository alive by holding a session for
> the duration you need (we do this for testing) - Or you can use another
> repository type (probably recommended for more serious use).
>
> --
> Chris
>
>
> On Tue, 17 Jun 2014 12:30:19 +0200, Frizz <[email protected]>
> wrote:
>
>  Thanks for your reply.
>>
>> As you might have guessed I am really not a Jackrabbit expert (I started
>> working with it yesterday).
>>
>> Java Doc for TransientRepositry says: "...A repository proxy that
>> automatically initializes and shuts down the underlying repository
>> instance
>> when the first session is opened
>> or the last one closed.". So would it be an options to keep a dummy
>> session
>> open to avoid startup/shutdown? Or better not?
>>
>> What would be the correct way to avoid this permanent startup/shutdown?
>>
>> cheers,
>> Frizz
>>
>>
>> On Tue, Jun 17, 2014 at 12:19 PM, Chris Poulsen <[email protected]
>> >
>> wrote:
>>
>>  That is the way that a transient repository is supposed to work.
>>>
>>> --
>>> Chris
>>>
>>>
>>> On Tue, 17 Jun 2014 12:14:20 +0200, Frizz <[email protected]>
>>> wrote:
>>>
>>>   WebService that's deployed in an OSGi container using
>>>
>> <snip>
>
>>
>>>
>>>
>>>
>
>

Reply via email to