Hi Graham,

On Wed, 2022-06-08 at 22:35 +0200, Graham Leggett wrote:
> On 07 Jun 2022, at 20:20, Graham Leggett <minf...@sharp.fm.INVALID>
> wrote:
> 
> > Am I on the right track, or does no one use the JCR API and instead
> > just hard codes Jackrabbit directly into apps?
> 
> I am assuming hardcoding seems to be the way.
> 

Speaking as a Jackrabbit (Oak) user, we do have mechanisms to
externalise the definition of the JCR repository to connect to, it just
happens that we don't use JNDI.

We're using a web framework called Apache Sling [1] and that framework
uses the Feature Model [2] to configure applications.

I don't have extensive experience with running Jackrabbit outside of
Sling, but I always see Oak embedded with the application, whether the
persistence is tied to the individual instance, using the
SegmentNodeStore, or clusterable, using the DocumentNodeStore [4].

Hope this helps,
Robert

[1]: https://sling.apache.org/
[2]:
https://sling.apache.org/documentation/feature-model/feature-model-howto.html
[3]:
https://jackrabbit.apache.org/oak/docs/nodestore/segment/overview.html
[4]: https://jackrabbit.apache.org/oak/docs/nodestore/documentmk.html

Reply via email to