You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by nch <un...@yahoo.com> on 2009/10/22 11:06:52 UTC

symbolic links

Hi, there.
Do exist such things in Jackrabbit as symbolic links or equivalent?

Rechards

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 

Re: symbolic links

Posted by Alexander Klimetschek <ak...@day.com>.
2009/10/22 nch <un...@yahoo.com>:
> Do exist such things in Jackrabbit as symbolic links or equivalent?

There are multiple options:
- use references [1] (simple but does not scale and doesn't work well
with partial imports/exports [2])
- use weak references (JCR 2.0) [3]
- use string/path properties with links and resolve them manually in
your application
- for files, you can use nt:linkedFile [4] (it uses references)
- shareable nodes (JCR 2.0) [5] [6]

JCR 2.0 will be available with Jackrabbit 2.0 (you can look at the
alpha releases already).

[1] http://www.day.com/specs/jcr/1.0/6.2.5.4_Reference.html
[2] http://wiki.apache.org/jackrabbit/DavidsModel#Rule_.235:_References_considered_harmful.
[3] http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.6.1.11%20WEAKREFERENCE
[4] http://www.day.com/specs/jcr/1.0/6.7.22.7_nt_linkedFile.html
[5] http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#3.9%20Shareable%20Nodes%20Model
[6] http://www.day.com/specs/jcr/2.0/14_Shareable_Nodes.html

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com