ActionForm cannot be considered as the Model except for very trivial
applications. ActionForm is also very tightly coupled to the Struts
framework. The model components are developed using EJB, Hibernate etc.
It provides the business logic and persistance for the application. So,
Struts does not provide anything for the Model part of the MVC. You
would actually use some kind of adapter in your Action classes such as
Business Delegate to interact with the Model layer of the application.

Bala Paranj

-----Original Message-----
From: Carl Smith [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 29, 2005 9:40 AM
To: user@struts.apache.org
Subject: what is M (of MVC) in struts



Struts privide strong C (of MVC) components, tyical of which are
ActionServlet, Actions  and RequestProcessors, but I am wondering which
part is the M (of MVC).

Thanks.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to