Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 62126 invoked from network); 24 Jan 2006 15:29:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jan 2006 15:29:25 -0000 Received: (qmail 25545 invoked by uid 500); 24 Jan 2006 15:29:13 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 25480 invoked by uid 500); 24 Jan 2006 15:29:13 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 25295 invoked by uid 99); 24 Jan 2006 15:29:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2006 07:29:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.204.76.189] (HELO waersys.net) (217.204.76.189) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jan 2006 07:29:10 -0800 Received: from ErikErskine ([192.168.110.108]) (authenticated bits=0) by waersys.net (8.12.8/8.12.8) with ESMTP id k0OFSmKg013899 for ; Tue, 24 Jan 2006 15:28:48 GMT Message-Id: <200601241528.k0OFSmKg013899@waersys.net> From: "Marco Mistroni" To: "'Struts Users Mailing List'" Subject: RE: A util class for EJB tier similar to BeanUtils? Date: Tue, 24 Jan 2006 15:28:49 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcYg9v1Hf4X+sV6VT62aYHbFVivL4wAA8Zfw In-Reply-To: <7b809eef0601240700s13cd4995x9189a1dde3ed1dcf@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello I m using BeanUtils for copying data between DTOs and EJBs.. In production... No problem seen so far, (app is running since 1.5 years) Hth marco -----Original Message----- From: Hubert Rabago [mailto:hrabago@gmail.com] Sent: 24 January 2006 15:01 To: Struts Users Mailing List Subject: Re: A util class for EJB tier similar to BeanUtils? What about, uhm, BeanUtils? What's your hestitation in using BeanUtils in your EJB tier? AFAIK there's nothing that limits BeanUtils to the presentation tier. Hubert On 1/24/06, Sharon Jolly wrote: > Hi, > > > > Am working in a project where I need to get information from a legacy > system and delegate is back and forth in my application using various > objects, dto's and form. The application is Struts1.1 based and I have 3 > layers in this. > > > > My question is if our forms and vo's have the same set of attributes we > use the struts provided BeanUtils.copyProperties method to directly > assign values from VO's to the Form and from the Form back to the VO's > in the web tier. > > > > I have a situation where I need to use a util class similar to the > beanutils to copy all the values from one object to a dto and vice versa > in my EJB tier. The object and the DTO has the same variable name and > the number is also the same. Can someone please help me as this is > really important to the project that am doing? > > > > Thanks in advance. > > > > Regards, > > Sharon > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual > or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under > applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or mailadmin@igate.com > and delete this EMAIL including any attachments > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org