jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@day.com>
Subject Re: SPI versus RMI versus... SPI+RMI
Date Wed, 14 Jul 2010 10:18:57 GMT
hi marc

On Wed, Jul 14, 2010 at 11:42 AM, Marc Herbert <Marc.Herbert@gmail.com> wrote:
> Hi all,
>
>  I am currently investigating remoting options. A number of
> pages/posts state that there are two remoting options: "SPI" versus
> "RMI". By digging deeper I think I found talk about a third option:
> SPI "on top of" RMI (instead of WebDav). Is this correct? I mean, is
> this actually a third option or am I just confused?
>
> If there is indeed a third SPI+RMI option then it does not seem much
> advertised. Is it deprecated or dead?
>
>
> Performance aside, forwarding SPI method calls using RMI feels
> more straight forward to me than going through an additional
> WebDav/HTTP layer. Since RMI ignores the Fallacies of Distributed
> Computing, remoting using RMI requires very little development
> doesn't it?
>
> How naive is the above?

not at all ;) i agree, remoting the SPI using RMI should be straightforward,
e.g.
  jcr2spi <-> SPI RMI client stub <-(network)-> SPI RMI server <-> spi2jcr

AFAIK, nobody's implemented yet.

cheers
stefan

>
>
> Cheers,
>
> Marc
>
>
>
>

Mime
View raw message