Wat is Difference between Mvc1 architecture and Mvc2
Architecture?

Answers were Sorted based on User's Feedback



Wat is Difference between Mvc1 architecture and Mvc2 Architecture?..

Answer / guest

MVC1 it combines the presentation logic with the business
logic where as MVC2 it seperates the presentation logic
from business logic

Is This Answer Correct ?    84 Yes 27 No

Wat is Difference between Mvc1 architecture and Mvc2 Architecture?..

Answer / smitha

MVC1 1)No separation of presentation layer and business layer.
2)Doesnt promote reusability of application components.
3)its for simple applications.
MVC2
1)ease of maintenance resulting from separation of
presentation layer and business layer.
2)Reusability of components
3)controller presents a single point of entry to the web
application providing cleaner means of implementing security
and state mgmt.

Is This Answer Correct ?    38 Yes 6 No

Wat is Difference between Mvc1 architecture and Mvc2 Architecture?..

Answer / raghavendra

In case of MVC1, the JSP page acts as Controller and view
(i.e we need to provide the control logic and presentation
logic as part of Jsp page)

In case of MVC2, the ActionServlet acts as a controller and
the JSP page acts as view.

Is This Answer Correct ?    34 Yes 5 No

Wat is Difference between Mvc1 architecture and Mvc2 Architecture?..

Answer / prasanna

In MVC1 Both the controller and model are the jsp ,so No
seperation between business logic and presentation logic
where as in MVC2 controller is servlet and model is the
java class

Is This Answer Correct ?    25 Yes 9 No

Wat is Difference between Mvc1 architecture and Mvc2 Architecture?..

Answer / jagadish babu

In MVC1 since business logic and presentation logic is
combined so web developer for (Bus.Logic) and web designer
for(pres.logic) cannot work simultaounlsy

But in mvc2 both can work indepenedently.

Is This Answer Correct ?    24 Yes 10 No

Wat is Difference between Mvc1 architecture and Mvc2 Architecture?..

Answer / kalyan

in mvc11 jsp acts as a controller
jsp will handle all the req
in mvc2 servlet acts as a controller

Is This Answer Correct ?    18 Yes 5 No

Wat is Difference between Mvc1 architecture and Mvc2 Architecture?..

Answer / b.sivaramakrishnan

MVC1 Architecture has a Model part as (classes,Bean classes
connectivity of Database), View part as jsp pages,and here
only one controller Servlet is used .here we send request
form browser by jsp page it goes to servlet(controller)
servlet get information from the request acording to request
it fatch information form classes(Models) and give responce
to the view part( to the Jsp Page).

In MVC2 Architecture we use Struts FrameWork which is a Open
Source FrameWork.Here Browser send Http Request to the
ActionServlet that Reads StrutsConfig.XML (these two play
role of Controller) then it goes to Model part acording to
request by Browser. Here in Action part we have DataBase,
ActionForm(Basicly Beans or EJB) and that give a response to
View Part As Jsp Page to the Browser.

Is This Answer Correct ?    22 Yes 10 No

Wat is Difference between Mvc1 architecture and Mvc2 Architecture?..

Answer / kannan

MVC1
In that model and views are combined and controller is the
server.

MVC2
Model and view are seperated.controller maps request and
responses.controller act as a seperate server

Is This Answer Correct ?    7 Yes 3 No

Wat is Difference between Mvc1 architecture and Mvc2 Architecture?..

Answer / bujji

Hi,
MVC is a design pattern.
It contains two models. MVC Model 1, MVC Model 2.
Struts framework implements MVC Design Pattern.
Struts can implement Model 1 and Model 2.
Model 2 most properly describes the application of MVC in a
Web-Application context.
Following are the important feature of MVC1 architecture:
(1) HTML or JSP files are used to code the presentation. JSP
files use java beans to retrieve data if required.
(2)MVC1 architecture is page-centric design all the business
and processing logic means any JSP page can either present
in the JSP or may be called directly from the JSP page.
(3)Data access is usually done using Custom tag or through
java bean call.
Therefore we can say that in MVC1 there is tight coupling
between page and model.
Following are the important feature of MVC2 architecture
(1)This architecture removes the page-centric property of
MVC1 architecture by separating Presentation, Control logic
and Application state
(2)In MVC2 architecture there is one Controller which
receive all request for the application and is responsible
for taking appropriate action in response to each request.
Second one is Model which is represented by JavaBeans,
business object, and database.
Third one is View or is JSP page it takes the information
provided by Controller and Module and presents it to user..

The main difference between MVC-I and MVC-II is in MVC-I all
the view,control elements are implemented using Servlets. in
MVC-II the view is implemented using JSP,and the controller
is implemented using Servlets,as JSP provides better user
interface than Servlets

Is This Answer Correct ?    7 Yes 3 No

Wat is Difference between Mvc1 architecture and Mvc2 Architecture?..

Answer / ravi

MVC Model-1 = MV+C
MVC Model-2 = M+V+C

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Struts Interview Questions

What are struts in java?

0 Answers  


What is the purpose of @requiredstringvalidator?

0 Answers  


What are the two scope types for formbeans?

0 Answers  


what is the purpose of load_on_startup entry in struts- config.xml?

5 Answers  


What is action servlet in struts?

0 Answers  






what is purpose cvs and vss in eclipse?

2 Answers  


what is BUSINESS DELIGATE PATTERN,DAO,VO,DTO?

6 Answers   BOB Technologies, TCS,


where you store password in banking project

1 Answers  


struts is thread safe or not ?give me answer as early as possible

5 Answers  


What is the purpose of @expressionvalidator annotation?

0 Answers  


What is token used for?

0 Answers  


what is ACID test for fresh engineers??what is the pattern??

0 Answers  


Categories