Re: How can java code connect to remote jackrabbit oak standalone server and get a repository reference back?

2017-06-01 Thread Chetan Mehrotra
You should be able to use same approach as used for Jackrabbit with
Oak. The standalone example application server would listen at port
8080 and support remote access via DavEx (at `/server`)  and WebDAV
(at `/repository/default`).
Chetan Mehrotra


On Fri, Jun 2, 2017 at 12:23 AM, Austin Zhang  wrote:
> Hi,
>
> I’m learning jackrabbit oak, when trying  the standalone server example, 
> after the server starting up, from my java code I want to connect to the 
> server and get a handle(reference) of the repository back.
>
> We know jackrabbit 2 can do this kind of thing by RMI, JNDI, Webdav or some 
> other ways, but I could not find anyway that jackrabbit oak does.
>
> My question is how can our code to connect to a remote jackrabbit oak 
> standalone server and get a repository reference back, so we can do all our 
> operations on it?


How can java code connect to remote jackrabbit oak standalone server and get a repository reference back?

2017-06-01 Thread Austin Zhang
Hi,

I’m learning jackrabbit oak, when trying  the standalone server example, after 
the server starting up, from my java code I want to connect to the server and 
get a handle(reference) of the repository back.

We know jackrabbit 2 can do this kind of thing by RMI, JNDI, Webdav or some 
other ways, but I could not find anyway that jackrabbit oak does.

My question is how can our code to connect to a remote jackrabbit oak 
standalone server and get a repository reference back, so we can do all our 
operations on it?