Re: what is M (of MVC) in struts

2005-07-29 Thread Craig McClanahan
On 7/29/05, Joe Germuska <[EMAIL PROTECTED]> wrote: > Struts does not provide any part of the "M" (Model). The more colloquial way to say this is that Struts is a BYOM (Bring Your Own Model) framework :-). Craig PS: ActionForm is part of the view ... the purpose is to maintain the server side

Re: what is M (of MVC) in struts

2005-07-29 Thread netsql
Joe Germuska wrote: Struts does not provide any part of the "M" (Model). oh yeah, that's right. .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: what is M (of MVC) in struts

2005-07-29 Thread Frank W. Zammetti
The Model is something, conceptually, outside of Struts. Struts provides nothing for dealing with the Model. Imagine that you write some classes that know how to talk to your database, know how to perform your business logic. Further imagine that these classes have a known set of methods (i.e.,

RE: what is M (of MVC) in struts

2005-07-29 Thread Baranj, Bala
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 pr

Re: what is M (of MVC) in struts

2005-07-29 Thread Joe Germuska
At 6:40 AM -0700 7/29/05, Carl Smith wrote: 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). Struts does not provide any part of the "M" (Model). I think this is what often leads n

Re: what is M (of MVC) in struts

2005-07-29 Thread netsql
The form"Bean". ;-) it maps to html form. .V Carl Smith wrote: 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 Y