2009/10/22 nch <[email protected]>: > 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 [email protected]
