This sounds like what Struts does already. ActionServlet (controller) puts request parameters into ActionForm, validates ActionForm, passes form to Action, Action moves form properties to model bean, Action calls business method passing in model bean, forwards to next resource for display.

David






From: "Savantraj, Chennamakal Subramanian" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: Standardization of Communication Between Controller & Model
Date: Thu, 31 Oct 2002 10:16:04 +0800

Hi All,

I am pretty new to STRUTS. We are trying to standardize our J2EE programming
model.
Objectives
1.Controller extracts all the request to a "Common object" (Somthing
like a TableModel)
2.Controller invoke a Model by passing the "Common Object"
3.Model will populate another "Common Object" according to the
response requirements
4.Custom Tags will take up this "Common Object" and render the
response page.

This approach may make a clear separation of the Developer roles. If anybody
already implemented,
similar approach, kindly share with me.Pls get back to me if my question is
not clear.

Thanks & Best Regards
Savant



-------------------------------------------------------------------
This email is confidential and intended only for the use of the individual
or entity named above and may contain information that is privileged. If you
are not the intended recipient, you are notified that any dissemination,
distribution or copying of this email is strictly prohibited. If you have
received this email in error, please notify us immediately by return email
or telephone and destroy the original message. Thank you. - This mail is
sent via Sony Asia Pacific Mail Gateway.
-------------------------------------------------------------------


--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN. http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to