Wat is Difference between Mvc1 architecture and Mvc2
Architecture?

Answer Posted / rahul

MVC1 (Page-centric Architecture): There is no clear
distinction between view and a controller. In Java terms,
there is JSP page (view and partial controller) which itself
controls Business logic (Model) that is why it is also
called as page-centric architecture. Fig 2 below shows MVC1
implementation.

MVC2 (Servlet-centric architecture): MVC2 incorporates a
clear separation of view and controller. A controller
receives all the requests, retrieves data from a Model and
forwards it to next view for presentation.

In Java terms, there is a central Servlet (Controller) which
calls business logic (Model) and the forwards it particular
JSP page (View) that is why it is also called
servlet-centric architecture. Diagram below depicts MVC2
implementation

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are action errors and error?

791


How does one create an action in struts 2?

704


Explain about struts dispatch action?

754


How do u provide security to ur project?(Banking domain project)

4633


What is the purpose of struts.properties in struct2?

702


What is form bean in struts?

691


What are the components of struts framework?

785


What is the struts in java?

698


What is actionservlet?

753


What are the steps used to setup dispatch action?

722


What are the core classes of the struts framework?

702


What is the differences between struts1 and struts2?

706


What is role of action class?

744


Difference between struts and spring?

784


What is xml based validation in struts2?

761