Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 90790 invoked from network); 10 Nov 2008 09:37:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2008 09:37:33 -0000 Received: (qmail 75870 invoked by uid 500); 10 Nov 2008 09:37:39 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 75857 invoked by uid 500); 10 Nov 2008 09:37:39 -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 75846 invoked by uid 99); 10 Nov 2008 09:37:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Nov 2008 01:37:39 -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 aklimets@day.com designates 207.126.148.181 as permitted sender) Received: from [207.126.148.181] (HELO eu3sys201aog001.obsmtp.com) (207.126.148.181) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 10 Nov 2008 09:36:18 +0000 Received: from source ([209.85.198.249]) by eu3sys201aob001.postini.com ([207.126.154.11]) with SMTP; Mon, 10 Nov 2008 09:37:01 UTC Received: by rv-out-0708.google.com with SMTP id c5so2652594rvf.28 for ; Mon, 10 Nov 2008 01:36:58 -0800 (PST) Received: by 10.141.179.5 with SMTP id g5mr3452596rvp.220.1226308017983; Mon, 10 Nov 2008 01:06:57 -0800 (PST) Received: by 10.140.144.3 with HTTP; Mon, 10 Nov 2008 01:06:57 -0800 (PST) Message-ID: Date: Mon, 10 Nov 2008 10:06:57 +0100 From: "Alexander Klimetschek" To: users@jackrabbit.apache.org Subject: Re: When to use JCR over DB? Guidelines/Best practices? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Hi! For some discussion on DB vs. JCR see this recent thread: http://markmail.org/message/lw4m2cjyykmwwi6o And our classic content model guide is here: http://wiki.apache.org/jackrabbit/DavidsModel These two should give you some start, if you have more questions, just ask them! Oh, and regarding OCM: my personal opinion is that with JCR you don't need an OCM framework, since the JCR node interface is already a (very flexible) DAO. Regards, Alex On Sun, Nov 9, 2008 at 12:37 PM, Robert Campbell wrote: > Hey guys, > > I'm pretty new to Jackrabbit (or any JCR implementation) and my only > CR experience was with a proprietary one years ago not offering so > many of the features we have today like queries, transactions, > versioning, etc. > > So I am in the process of designing a web store and I'm finding it > difficult to decide what to put in a traditional DB w/ORM versus JCR > w/OCM. For example, think of your typical Product: > > id, name, price, data sheets, marketing PDFs, pictures, searchable > meta data, editable CMS type description for display, etc... > > Looking at this, it screams "just put it all in Jackrabbit... " The > only things that would make more sense in a DB I guess are id, name, > and price.. but I can't say why, just feels that way. Why both with > the DB at all and just put everything in Jackrabbit, with Category > nodes, Product nodes, etc? > > How do all of you decide which system to use and where? What are the > guidelines you all use? > > Thank you, > > Rob > -- Alexander Klimetschek alexander.klimetschek@day.com