On Thu, Feb 11, 2010 at 12:54 PM, Thomas Müller <thomas.muel...@day.com> wrote: > Hi, > > About SNS (same name siblings): what about moving that part away from > the "core"? Currently, the Jackrabbit architecture is (simplified): > > 1) API layer (JCR API, SPI API) > 2) Jackrabbit core, which knows about SNS > > After moving the SNS support, it would be something like this: > > 1) API layer (JCR API, SPI API) > 2) SNS support code, which knows about SNS, and maps SNS node names > to/from internal node names > 3) Jackrabbit core, doesn't know anything about SNS (node names must > be unique, "[" and "]" are supported within node names)
interesting approach. i don't know whether it's feasable (e.g. SNS-related state would probably need to be persisted), but certainly worth more investigations... cheers stefan > > My hope is that this would simplify the core, because it doesn't have > to deal with SNS at all. Disadvantage: there is a risk that certain > things would get a bit slower if SNS are actually used (specially if > there are lots of SNS). > > Regards, > Thomas >