jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: [jr3] SPI-based transient layer
Date Thu, 18 Feb 2010 13:30:43 GMT
On Wed, Feb 17, 2010 at 6:48 PM, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> Hi,
> We currently have two parallel implementations of the transient layer
> in JCR, one in jackrabbit-core and one in jackrabbit-jcr2spi. Ideally
> we'd only have a single implementation and have jackrabbit-core
> implement the SPI instead of the JCR interfaces.

generally, +1

> That's probably not
> doable any time soon as SPI doesn't yet cover all of JCR 2.0, but we
> should still strive to reduce the amount of duplication between these
> two components.
> My main worry with this work is that the assumptions encoded in the
> SPI layer may not be ideal for some of the other architectural ideas
> we have in mind.

agreed. IIUC one of the major design goals of the SPI was to allow
for as many as possible diverse backend implementations, i.e. make it
easy to implement on some legacy system. this generalization probably
makes it difficult to leverage features of purpose-built highly optimized
SPI implementations (such as e.g. j3 core ;).

we'll probaly have to review the design of the SPI layer should it become
the j3 core interface.


> BR,
> Jukka Zitting

View raw message