If you're wanting your java code to connect to remove JCR servers, and use
the JCR API (not the Java API, but a very similar API) then Sling is almost
certainly what you want:

http://sling.apache.org/

In my meta64.com I wanted to talk directly to repositories via the Java
API, but some day I may add an abstraction layer to my JCR interfacing and
does the remoting via Sling REST, so that I can make JAVA calls that end up
getting automatically marshalled to/from the JSON of Sling.


Best regards,
Clay Ferguson
[email protected]


On Sat, Oct 22, 2016 at 7:54 AM, mathiasconradt <[email protected]>
wrote:

> Mario, did you get it to work the way you wanted? I actually have the same
> question and posted it to
> http://stackoverflow.com/questions/40191705/jackrabbit-
> oak-getting-started-and-connect-to-a-standalone-repository-via-java.
>
> Craig, I took a look at your meta64 project, but from what I see there, the
> repository is created within your same application, so it's not connecting
> to a standalone (remote) server, right?
>
> OakRepository.java, line 234:
> repository = jcr.createRepository();
>
> Still wondering how to connect to a standalone Oak server that is not in
> the
> same servlet container and/or app.
>
>
>
> --
> View this message in context: http://jackrabbit.510166.n4.
> nabble.com/How-to-connect-to-OAK-standalone-server-tp4663274p4665169.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>

Reply via email to