And BeanUtils doesn't work because.....why?

-Dennis




"Sharon Jolly" <[EMAIL PROTECTED]> 
01/24/2006 09:43 AM
Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
<user@struts.apache.org>
cc

Subject
A util class for EJB tier similar to BeanUtils?






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 [EMAIL PROTECTED] 
and delete this EMAIL including any attachments
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Reply via email to