What is the difference between MVC 1 & MVC 2?

Explain about MVC 1 & MVC 2. what is the difference between MVC 1 & MVC 2?

Showing Answers 1 - 4 of 4 Answers

In Java,MVC 1 means that servlet act as controller as well as view means it deals the business rules and view part .So web designer and java programmer cannot work at a time and it is time consuming .But in MVC 2 arch,the three parts are responsible for three diff functionalities and developers can work simulteaneously on three parts.

View-JSP

Controller-Servlets

Model-java bean

Here controllerdeals with the authentication and business logic purposes and

View is dedicatd to user interface

Model is reponsible for data base retrieval purpose.

I hope this will help you.If you have any doubts let me know.

-Ajay

  Was this answer useful?  Yes

abhishek

  • May 1st, 2006
 

hi..i ve a small confusion,can u help me out.....In MVC-2 ,we ve jsp and action form-view action class-controler java beans-modelis it ok....

  Was this answer useful?  Yes

visitor

  • May 4th, 2006
 

If u dont mind pls explain me in detail

  Was this answer useful?  Yes

gururaj

  • Jun 13th, 2006
 

actually MVC 1 is a misnomer. is also called Model 1 architecture, this refersto the ancient archetecture :) wer ppl had vereything stuffed into servlet ( view and business logic related code ) and a simple java bean did the job of talking to DB and persisting the data.

MVC-2 ( also called Model 2) is in the true sense a MVC architecture wer view is JSP, Servlet is the controller and bean is the persistence.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions