Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 27437 invoked from network); 9 Nov 2007 21:16:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2007 21:16:08 -0000 Received: (qmail 38968 invoked by uid 500); 9 Nov 2007 21:15:54 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 38952 invoked by uid 500); 9 Nov 2007 21:15:54 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 38943 invoked by uid 99); 9 Nov 2007 21:15:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 13:15:54 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sandro.boehme@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 09 Nov 2007 21:15:56 +0000 Received: (qmail invoked by alias); 09 Nov 2007 21:15:34 -0000 Received: from unknown (EHLO [192.168.1.27]) [83.236.207.190] by mail.gmx.net (mp057) with SMTP; 09 Nov 2007 22:15:34 +0100 X-Authenticated: #1646957 X-Provags-ID: V01U2FsdGVkX1+4WwgozW64V4ijjpiArZyp8s1WXFn7RLhxFhVB+R 8OPDdKfxWKNQK6 Message-ID: <4734CDEE.3040804@gmx.de> Date: Fri, 09 Nov 2007 22:15:26 +0100 From: =?ISO-8859-1?Q?Sandro_B=F6hme?= User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: Jackrabbit Best Practices/Design Patterns References: <13621138.post@talk.nabble.com> In-Reply-To: <13621138.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org loproman schrieb: > Hi, > > Does anyone know if there has been any research or documentation developed > on best practices working with repositories? Specifically, I'm wondering if > there are any ideal patterns out there for working with the JCR API. 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). Thanks! Good point - wrapping nodes with domain classes is exactly what I'm working on in JCR Management at http://www.eclipse.org/modeling/emft/?project=jcrm (see the wiki at http://wiki.eclipse.org/index.php/JCR_Management)