Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 84037 invoked from network); 18 Mar 2005 10:49:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Mar 2005 10:49:36 -0000 Received: (qmail 50886 invoked by uid 500); 18 Mar 2005 10:49:35 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 50873 invoked by uid 99); 18 Mar 2005 10:49:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.inovex.de (HELO mail.inovex.de) (217.146.134.175) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 18 Mar 2005 02:49:34 -0800 Received: from [192.168.1.27] (sboehme.inovex.de [192.168.1.27]) by mail.inovex.de (Postfix) with ESMTP id 2406D309A5 for ; Fri, 18 Mar 2005 11:53:41 +0100 (CET) Message-ID: <423AB0F0.4000105@inovex.de> Date: Fri, 18 Mar 2005 11:44:00 +0100 From: =?ISO-8859-1?Q?Sandro_B=F6hme?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: Mapping Layer needed? References: <4236DABE.3060403@capgemini.fr> <4236E542.4060702@inovex.de> <4239BBD8.7@inovex.de> <423AA76D.4060005@jahia.com> In-Reply-To: <423AA76D.4060005@jahia.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Serge, > Btw I seem to remember somebody proposing a mapping layer > implementation > here. Maybe Sandro can find it in the archives ? as it would have anser my question, here it is: At level 5, with the thread starting at the 8th of december with the subject "Mapping of Items..." http://news.gmane.org/gmane.comp.apache.jackrabbit.devel Or the direct links: o |-http://article.gmane.org/gmane.comp.apache.jackrabbit.devel/722/match=+mapping+items+ |--http://article.gmane.org/gmane.comp.apache.jackrabbit.devel/723 |--http://article.gmane.org/gmane.comp.apache.jackrabbit.devel/725/match=+mapping+items+ Christophe said, he want to implement the mapping in JCMS - a CMS project (supporting Jackrabbit) hosted at portals.apache.org. Next time I will search before I post. Best regards, Sandro Serge Huber wrote: > > Hi David, > > The only thing in JCR that is a little unusual when mapping to ORM is > versioning. Do we need to version all the previous object states ? Or > were you thinking about a mapping that doesn't use versioning ? > > All the rest seems like a good fit though : locking, search, > referencing, etc.. > > Btw I seem to remember somebody proposing a mapping layer implementation > here. Maybe Sandro can find it in the archives ? > > Regards, > Serge Huber. > > David Nuescheler wrote: > >> hi sandro, >> >> thanks for your post, i think it is a very interesting topic. >> >> as a matter of fact i discussed things like a hibernate or >> jdo layer on top of jcr with a couple of people, and if i haven't >> completely misread your first post may be a similar proposition. >> >> i personally (of course ;)) believe that a repository may offer >> a very good persistence layer for things like POJO's in particular >> with respect to features like inheritance, which particularly for >> RDBMSes are unnatural to handle. >> >> thoughts?? >> >> regards, >> david >> >> >> On Thu, 17 Mar 2005 18:18:16 +0100, Sandro B�hme >> wrote: >> >> >>> Hello again, >>> >>> as there is no feedback - do I miss something? Would'nt it be best >>> practice to map the business logic java bean classes to node types? >>> E.g. an OrderBean with the property orderItem would map to an >>> "Order"-NodeType with a ChildNodeDef "OrderItem". Assuming the >>> "OrderItem"-NodeType (or it's ChildNodeDef's) has all needed atomic >>> properties (PropertyDef's). >>> In my opinion, creating an initial node type hierarchy out of java beans >>> shouldn't be that hard as a first step. Of course, keeping the mapping >>> during remove or rename tasks for node types would be harder. I just >>> don't want to start working on it, if anybody of you already know that I >>> missed something and it makes no sense in this way. >>> Thank you in advance for your time. >>> >>> Best regards, >>> >>> Sandro >>> >>> Sandro B�hme wrote: >>> >>> >>>> Hello, >>>> >>>> in our project I would like to generate the JCR nodetype structure out >>>> of a java bean class structure. If I'am right I think it is needed >>>> quite >>>> often and I wonder if there is already such a library around. Does >>>> anybody know of such a library? If not, I would try to create a first >>>> version of it. >>>> >>>> Best regards, >>>> >>>> Sandro >>>> >>>> >>>> >>> >>> >> >> >> >> >> > >