jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabián Mandelbaum <fmandelb...@gmail.com>
Subject Re: Difenciate system from application nodeTypes
Date Tue, 20 Apr 2010 21:12:21 GMT
Without using Namespaces, you can always differentiate them by their
location in the JCR repository...

/jcr:system -> JCR reserved nodes
/MyApplication -> My Application nodes

Now, under /MyApplication there can be nt:file, nt:folder,
nt:unstructured, etc., that is regular JCR nodes. If you don't want
that (dunno why you wouldn't want that, but maybe you don't...) I
think the only solution is indeed to create your own nodetypes under
your own namespace.

On Mon, Apr 19, 2010 at 9:16 PM, Rakesh Vidyadharan <rakesh@sptci.com> wrote:
> On 19 Apr 2010, at 06:48, wildes miranda oliveira wrote:
>> Hi list, how you are differentiating system nodetypes from application
>> nodetypes ?
> The nt namespace is reserved for the standard ones provided by JCR.  It is always a
good idea to use your own namespace for application created node types or other definitions.
> Rakesh

Fabián Mandelbaum
IS Engineer

View raw message