You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Esmond Pitt <es...@bigpond.com> on 2012/08/30 08:41:03 UTC

RMI RemoteRow implementation?

Are there any plans to complete the implementation of
RemoteRow/ClientRow/ServerRow? They're not very useful in their current
state, only providing access to the Values. not the score or the path or the
Node.
 
EJP

Re: RMI RemoteRow implementation?

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Tue, Sep 4, 2012 at 6:04 AM, Esmond Pitt <es...@bigpond.com> wrote:
> On examining https://issues.apache.org/jira/browse/JCR-3206 I find that an
> extensive patch covering everything I did and more had already been
> submitted by Lars Michele on 27 August 2912 and committed against the trunk
> the same day.

Oh, nice! I totally missed that as I was on vacation at the time.

BR,

Jukka Zitting

RE: RMI RemoteRow implementation?

Posted by Esmond Pitt <es...@bigpond.com>.
Jukka

On examining https://issues.apache.org/jira/browse/JCR-3206 I find that an
extensive patch covering everything I did and more had already been
submitted by Lars Michele on 27 August 2912 and committed against the trunk
the same day.

EJP


RE: RMI RemoteRow implementation?

Posted by Esmond Pitt <es...@bigpond.com>.
OK, I've done a few additions already, enough for my current purposes, and I
can contribute that work.

However I got stuck implementing ClientRow.getNode(). It just needs to
return a new ClientNode wrapped around remote.getNode(), but the constructor
for ClientNode wants a session and a factory, which aren't available in
ClientRow. I suspect this means that ClientRow should extend ClientObject,
and call ClientObject.getNode(), but I haven't investigated the
ramifications further. Any of this affects the way ClientRow itself is
constructed of course.

EJP


Re: RMI RemoteRow implementation?

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Thu, Aug 30, 2012 at 8:41 AM, Esmond Pitt <es...@bigpond.com> wrote:
> Are there any plans to complete the implementation of
> RemoteRow/ClientRow/ServerRow? They're not very useful in their current
> state, only providing access to the Values. not the score or the path or the
> Node.

I don't think anyone is actively working on that, but help is always
welcome! If you have an idea of how the implementation should be
completed, please file an improvement issue and attach a patch with
your changes.

BR,

Jukka Zitting