Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 68975 invoked from network); 19 Jan 2008 23:46:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jan 2008 23:46:33 -0000 Received: (qmail 77048 invoked by uid 500); 19 Jan 2008 23:46:19 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 76990 invoked by uid 500); 19 Jan 2008 23:46:19 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 76981 invoked by uid 99); 19 Jan 2008 23:46:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jan 2008 15:46:19 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebastien.degardin@gmail.com designates 209.85.146.178 as permitted sender) Received: from [209.85.146.178] (HELO wa-out-1112.google.com) (209.85.146.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jan 2008 23:45:54 +0000 Received: by wa-out-1112.google.com with SMTP id k34so2677771wah.10 for ; Sat, 19 Jan 2008 15:46:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=HIqHKmSsHwqZ9siAIs32mJ8R/F4T79wDQ4xO1AKu70E=; b=DLpHa/7SJYxt14SeUCvU5QphHZXjSYSL363ShTRaOgej2SoMbAp7qAYB+w/EjYopxSB4Mfrcc0AVgO8Ruqi+YPiVPLru0tTXOwupPXScq8sLoHs4jajmiFva/MCr9W2uCWyf7XodDBYcxRw1+yfrY6rLC4H+ATcdcNXYuSDYqp8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Vn83/3BqX11h4q6pWp8Fo08b7uX8Tzkfjo98SfbAKCtpRWd48m2+ozXNS9l5HGV3tUDogCOJb/KFbW+5HubJRxEq4p6bNAjhzXKYsdwQayJ1ify20NGhcLpTMQdyHE37NWDCIwAptqM0+mVRhztp2In5SeJxcWxlJTEcRBRdJ6s= Received: by 10.142.187.2 with SMTP id k2mr2746995wff.163.1200786360223; Sat, 19 Jan 2008 15:46:00 -0800 (PST) Received: by 10.143.164.18 with HTTP; Sat, 19 Jan 2008 15:46:00 -0800 (PST) Message-ID: <1006b5310801191546y5716a21esc01e0f9f2d631915@mail.gmail.com> Date: Sat, 19 Jan 2008 23:46:00 +0000 From: "Sebastien Degardin" To: "Jakarta Commons Users List" Subject: Re: Filter properties when BeanUtils.copyProperties In-Reply-To: <387040.87617.qm@web55115.mail.re4.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6947_26139365.1200786360224" References: <1006b5310801171516l3603423fyd698b9e954aaf7ff@mail.gmail.com> <387040.87617.qm@web55115.mail.re4.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6947_26139365.1200786360224 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Matt, Thanks for the info. I use json-lib which use Morph. (http://json-lib.sourceforge.net ) it uses Morph object that implement Dynbean. Thanks for the info, I'll have a look on this side. Seb. On Jan 19, 2008 5:45 PM, Matt Benson wrote: > This is a little late, but Morph at sf.net is another > object transformation project similar to Dozer with a > different architecture, that comes with DynaBean > support. If you try the current (old) release and > have any problems don't hesitate to ask on the mailing > lists for help or info. > > -Matt > > --- Sebastien Degardin > wrote: > > > Yes, I used Dozer in my last project. > > > > Dozer is fine, however, All my code is around > > DynaBean. > > > > for info, I've coded a Custon BeanUtilsBean which > > does the filtering in the > > copyProperty method. > > > > That's probably not perfect but it works for the > > moment. > > > > Cheers, > > > > On Jan 17, 2008 10:23 PM, Laurent Perez > > wrote: > > > > > I've never used Dynabeans, but maybe you could > > have a look at Dozer > > > bean to bean mapper > > (http://dozer.sourceforge.net/) and its > > > field-exclude settings. > > > > > > laurent > > > > > > > > > 2008/1/17, Sebastien Degardin > > : > > > > Hi there, > > > > > > > > I'm trying to find a way to copy a Dynabean to a > > JavaBean using some > > > kind of > > > > filter to only copy some properties. > > > > > > > > I tried to find on the archive .. sorry if it's > > a cross post. > > > > > > > > Tks. > > > > > > > > g > > > > > > > > > > > > > -- > > > > > href="http://in-pocket.blogspot.com">http://in-pocket.blogspot.com > > > - Mobile world, technology and more > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > user-unsubscribe@commons.apache.org > > > For additional commands, e-mail: > > user-help@commons.apache.org > > > > > > > > > > > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php?category=shopping > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > > -- Best regards, Sebastien Degardin 12, Old Farm Avenue London N14 5QP Mobile : +447515356869 Skype sebastiendeg ------=_Part_6947_26139365.1200786360224--