struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen M. Servedio" <>
Subject Automation options between ActionForm and Value Object?
Date Mon, 03 Dec 2001 13:43:29 GMT
Hi All,

Though I still have much existing material to read in the STRUTS mailing 
lists (thanks again for your help Jon!), I have come across three 
interesting solutions to dealing with automating or centralizing the 
translation of data from Action Forms (presentation layer) to Value Objects 
(business layer) and back again. Here are the three approaches:

Translation Pattern:

Using Property Editors:

Using Code Generation:

The current one that I have seen referred to in the mailing lists is using 
Reflection (which still may easily solve this in most cases) or some type 
of mapper driven by XML setup info. Here are the mailing list threads that 
I have found on it so far: 
(an answer from Ted related to msg18315)

Two other related patterns that I have found are the:
View Helper:
Dynamic Value Object:

I was curious what people thought of these solutions and what other 
solutions they had come up with.

This is an area that I really want to automate and that I really want to 
have a couple of solutions for (since it could generate a great deal of 
code that I REALLY don't want to have to rework if I find that the solution 
is no good).

Thanks for your thoughts and comments!

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message