DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21541>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21541

Limitation in struts model component





------- Additional Comments From [EMAIL PROTECTED]  2003-07-21 11:16 -------
I'd agree that there is a definite need for a business-layer controller that
follows the same general architecture as Struts. I'd disagree that it is Struts
job to provide that framework. Right now, there are several object-relational
modeling frameworks, like Hibernate and OJB, that help you take a rich object
model and "flatten" it into a JDBC representation. There should also be a
corresponding way to flatten a rich object graph into a simple data transfer
object, like the ones Struts encourages for ActionForms. But, IMHO, such an
adaptor is out of the scope of Struts, and is part of the business layer rather
than the presentation layer. I would venture that the XML configurations that
should be extended to support moving data from a flat DTO to a rich object graph
(or directly to a database query) for this would be the Hibernate and OJB XML's
rather than Struts.

-Ted.

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

Reply via email to