Hi, So, I call createRepository only once to construct a repository but then in my application how can I get the repository instance without calling createRepository().
> From: [email protected] > To: [email protected] > Subject: Re: Repoistory connection > Date: Tue, 1 Mar 2016 10:19:51 +0000 > > Hi, > > On 01/03/16 10:36, "Enes Altžnok" wrote: > >1.Is it possible to use SegmentNodeStore withoud osgi? > > yes, see updated page on how to construct the repository: > > http://jackrabbit.apache.org/oak/docs/construct.html > > > >2.Is there a sample code or project for the SegmentNodeStore > >implementation? > > See above. There is also a standalone example you can > find here: > https://github.com/apache/jackrabbit-oak/tree/trunk/oak-examples/standalone > > > >3.If we are talking about using oak as embedded and store as > >SegmentNodeStore, should I use jackrabbit but not oak. > > The SegmentNodeStore is one of the backend options of Apache > Jackrabbit Oak. > > When you write 'jackrabbit', I assume you are referring to the > old Jackrabbit 2.x version. This version is in maintenance mode > and for new projects, I suggest you use the new Oak implementation. > > Regards > Marcel >
