I don't see why this would couple the web tier to the ejb tier.
All it would couple you to is the commons-beanutils.jar which you should be
able to use even if you don't use struts.

Shawn

-----Original Message-----
From: Sharon Jolly [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 25, 2006 12:08 AM
To: Marco Mistroni; Struts Users Mailing List
Subject: RE: A util class for EJB tier similar to BeanUtils?

I don't want to tightly couple by web tier with the ejb tier and that's
the reason why I am looking for some other class. If I need to use some
other framework for the same application later, I mean from struts to
some other framework for presentation layer... the it would be a big
problem right? Is there any other approach for the problem I have
asked....

-----Original Message-----
From: Marco Mistroni [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 8:59 PM
To: 'Struts Users Mailing List'
Subject: RE: A util class for EJB tier similar to BeanUtils?

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:[EMAIL PROTECTED] 
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 <[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]

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

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]

**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

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

Reply via email to