jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart" <christophe.lomb...@gmail.com>
Subject Re: Jackrabbit Best Practices/Design Patterns
Date Thu, 08 Nov 2007 08:39:35 GMT
You can find  the old doc for Jackrabbit OCM (
http://incubator.apache.org/graffito/jcr-mapping/index.html). I'm going to
rewrite it but it gives an global idea.

Let me know if it is feet (or not) to your needs.

br,
Christophe


On Nov 8, 2007 9:26 AM, Christophe Lombart < christophe.lombart@gmail.com>
wrote:

>
>
> On Nov 7, 2007 3:56 PM, Jukka Zitting <jukka.zitting@gmail.com> wrote:
>
> >
> >
> > > I've seen lots of primitive examples where nodes are accessed directly
> > via
> > > "getNode" and "addNode" etc. However, I think a more scalable solution
> > would
> > > need to wrap nodes with domain logic (similar to how DTO objects are
> > used
> > > with a relational database I suspect).
> >
> > I tend to avoid wrapping JCR nodes into custom Java objects, since
> > IMHO in many cases that's just an extra layer of complexity with
> > little value, but that's just a personal opinion.
> >
>
>
> Another solution is Jackrabbit OCM . http://svn.apache.org/repos/asf/jackrabbit/sandbox/jackrabbit-jcr-mapping/jcr-mapping/
>
>
> >
> > BR,
> >
> > Jukka Zitting
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message