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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to