jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Müller <thomas.muel...@day.com>
Subject Re: Can a node be shared by more than one parent.
Date Thu, 17 Sep 2009 09:16:00 GMT
Hi,

Jackrabbit supports this, see the JCR 2.0 specification under "3.9
Shareable Nodes Model":
http://jcp.org/aboutJava/communityprocess/pfd/jsr283/index.html

Regards,
Thomas


On Thu, Sep 17, 2009 at 11:02 AM, Guo Du <mrduguo@gmail.com> wrote:
> On Thu, Sep 17, 2009 at 9:52 AM, Sunil Dhage
> <sunil.dhage@coreobjects.com> wrote:
>> Hi,
>>
>> We have a requirement in which we need to have a node which can be accessed through
two different parent nodes.
>>
>> If yes, can you provide an example.
>>
>> Alternative solutions are appreciated.
>
> e.g. You have node path /a/b/c/d/1/2/3/4
> and you want to have another path to access such as /foo/bar/1/2/3/4
>
> You may use reference node to point /foo/bar to /a/b/c/d, then when
> you looked up path at /foo/bar, switch to node /a/b/c/d, and continue
> traverse.
>
> Any better ideas :)
>
> -Guo
>

Mime
View raw message