What about when simply displaying data on a page? Do developers typically copy data out of the domain object just to display it? (As opposed to using it w/ a form.)

The only issue I see is that you may end up introducing view helper methods to your model beans.

Nick

Robert Taylor wrote:

Adam, its frowned upon to pass a web tier object (XXXXActionForm) into the business
tier. I believe a widely used technique is to use BeanUtils to copy the properties
from the XXXXActionForm to a DTO (a Domain Object) which can  be passed to the
business tier.

robert






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



Reply via email to