GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE
Go To First  |  Previous Question  |  Next Question 
 J2EE  |  Question 34 of 104    Print  
what is the difference between MVC 1 & MVC 2?
Explain about MVC 1 & MVC 2. what is the difference between MVC 1 & MVC 2?


  
Total Answers and Comments: 4 Last Update: June 13, 2006     Asked by: ramkumar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
April 30, 2006 12:51:17   #1  
AjayReddy Member Since: February 2006   Contribution: 5    

RE: Explain about MVC 1 & MVC 2. what is the differenc...

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


 
Is this answer useful? Yes | No
May 01, 2006 12:21:29   #2  
abhishek        

RE: Explain about MVC 1 & MVC 2. what is the differenc...
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....
 
Is this answer useful? Yes | No
May 04, 2006 07:11:50   #3  
visitor        

plz help me out

If u dont mind pls explain me in detail


 
Is this answer useful? Yes | No
June 13, 2006 04:36:51   #4  
gururaj        

RE: Explain about MVC 1 & MVC 2. what is the differenc...

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.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape