Hi,
1.Is it possible to use SegmentNodeStore withoud osgi?2.Is there a sample code 
or project for the SegmentNodeStore implementation?3.If we are talking about 
using oak as embedded and store as SegmentNodeStore, should I use jackrabbit 
but not oak.
> From: [email protected]
> To: [email protected]
> Subject: Re: Repoistory connection
> Date: Tue, 1 Mar 2016 08:26:30 +0000
> 
> Hi Enes,
> 
> On 28/02/16 18:38, "Enes Altžnok" wrote:
> >So:1. Do I have to call createRepository() every time or just for the
> >first time and then use another method to connect repository.
> 
> You have to call this once when your application starts.
> This will create the JCR Repository instance and initialize
> the repository when you start it the first time.
> 
> >2. Is shuting down the repository needed?
> 
> It is not strictly needed, but recommended. A clean shutdown
> ensures the next startup will be quick and no recovery is
> needed.
> 
> Furthermore, based on your description that you would like
> to embed Oak in your project, the SegmentNodeStore may be
> more suitable. It stores the data of the repository on
> your filesystem and does not require MongoDB.
> 
> Regards
>  Marcel
> 
                                          

Reply via email to