Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 11203 invoked from network); 17 Mar 2005 18:19:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Mar 2005 18:19:47 -0000 Received: (qmail 40541 invoked by uid 500); 17 Mar 2005 18:19:46 -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 40527 invoked by uid 99); 17 Mar 2005 18:19:46 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of david.nuescheler@gmail.com designates 64.233.170.197 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.197) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 17 Mar 2005 10:19:44 -0800 Received: by rproxy.gmail.com with SMTP id y7so662116rne for ; Thu, 17 Mar 2005 10:19:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=LqL56WAUaiWvwjlS0vlamhbJof6hHSyVJEDAt9VbkYCpoV0wzW7kvMIB2nNZRzLNdRWBh/uRiu0P0/aWcpoJHhV78UIDJScC2KNijgFeNqZgy424SlOTDJkgHO0WSZMlGXBlxQgPzTyquVIChbbn5n/jmjsbx2wVAHwUcUTT19s= Received: by 10.38.99.9 with SMTP id w9mr1883755rnb; Thu, 17 Mar 2005 10:19:39 -0800 (PST) Received: by 10.38.11.73 with HTTP; Thu, 17 Mar 2005 10:19:39 -0800 (PST) Message-ID: Date: Thu, 17 Mar 2005 19:19:39 +0100 From: David Nuescheler Reply-To: david.nuescheler@day.com To: jackrabbit-dev@incubator.apache.org Subject: Re: Mapping Layer needed? In-Reply-To: <4239BBD8.7@inovex.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: <4236DABE.3060403@capgemini.fr> <4236E542.4060702@inovex.de> <4239BBD8.7@inovex.de> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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=20 i haven't completely misread your first post may be=20 a similar proposition. i personally (of course ;)) believe that a repository may offer a very good persistence layer for things like POJO's in=20 particular with respect to features like inheritance, which=20 particularly for RDBMSes are unnatural to handle. thoughts?? regards, david On Thu, 17 Mar 2005 18:18:16 +0100, Sandro B=F6hme wro= te: > Hello again, >=20 > 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. >=20 > Best regards, >=20 > Sandro >=20 > Sandro B=F6hme 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 quit= e > > 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 > > > > >=20 >=20 --=20 ---------------------------------------------------------------------- standardize your content-repository ! http://www.jcp.org/en/jsr/detail?id=3D170 ---------------------------------------< david.nuescheler@day.com >--- This message is a private communication. If you are not the intended recipient, please do not read, copy, or use it, and do not disclose it to others. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you. The sender does not assume any liability for timely, trouble free, complete, virus free, secure, error free or uninterrupted arrival of this e-mail. For verification please request a hard copy version. mailto:david.nuescheler@day.com http://www.day.com David Nuescheler Chief Technology Officer Day Software AG Barfuesserplatz 6 / Postfach 4001 Basel Switzerland T 41 61 226 98 98 F 41 61 226 98 97