I looked at that readme page (oak-pojosr). I like the idea of simplifying use of osgi, or embedding it. It reminds me a bit of how SpringBoot actually embeds an instance of Tomcat, so deployment is simple and easy for web apps.
Having a totally prepackaged way of doing stuff is what most developers want these days. There are just too many moving parts in most large systems, so people need "prepackaged" configurations that just work right out of the box, at least for some minimal set of the most common usage patterns. I'm not sure if there's any plans to integrate into SpringBoot, but IMO that would be a hugely important thing for the industry if Oak was part of SpringBoot stack. Best regards, Clay Ferguson [email protected] On Sun, Aug 2, 2015 at 11:52 PM, Chetan Mehrotra <[email protected]> wrote: > Thanks Clay for putting this together. Current documentation is not > good for standalone usage as quite a bit of logic of configuring Oak > is based on OSGi. Due to that using Oak as is in standalone > environment is tricky > > The oak-pojosr [1] was intended to enable use of Oak with all its OSGi > based config in non OSGi env like say war deployment. Need to get some > time to finish it and adopt the standalone web example to use that > > Chetan Mehrotra > [1] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-pojosr > > > On Sun, Aug 2, 2015 at 11:26 PM, Clay Ferguson <[email protected]> wrote: > > Fellow Jackrabbits, > > > > I discovered it was a *huge* effort and there is a *huge* lack in the > > examples related to simply getting MongoDb up and running (as JCR) with > > Lucene indexes getting properly used. Since this effort took me 2 solid > days > > and there are no great examples that come up via google i'm sharing my > > example: > > > > This code creates a Full Text Search on jcr:content, and an sorting > > capability on jcr:lastModified: > > > > > https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/repo/OakRepository.java > > > > I also just updated meta64 project to be using the 1.0.18 branch of the > > Jackrabbit code, so it's all up to date stuff. I would highly recommend > > adding this or a similar example right onto the Lucene page of the Oak > docs, > > because what I'm doing is exactly what everyone else wants, and the > > documentation itself is just completely confusing and mind boggling > without > > a real example. > > > > Cheers, and happy jackrabbiting. > > > > Best regards, > > Clay Ferguson > > [email protected] > > meta64.com > > >
