What is the difference between mvc1 and mvc2? i want simple clear explanation with diagrams?

Showing Answers 1 - 4 of 4 Answers

PAWAN

  • Oct 11th, 2006
 

THERE ARE MVC AND MVC1 IN MVC MODEL IS EJB,VIEW IS JSP PAGE,CONTROLLER IS SERVLET. ALL ARE WORK IN MVC1 EJB IS AVAILABLE AND ONLY ONE SERVLET OR JSP CAN TAKE THE RESPONSIBILITY OF CONTROLLER/VIEW.REPLY IF U GET ANY BETTER ANSWER

  Was this answer useful?  Yes

Sony V George

  • Apr 9th, 2007
 

MVC is modal which makes the application more flexible. Model, View and control is called as MVC.

We are seprating these three in three separate layes so that we can do enhancement easily. 

In MVC we are using Jsp as both controller and as well as view .Java bean will act as an modal .

In MVC1 servlet will act as controller b/w two jsp hence the performance wil increase.

In mVC2 strusts contoller is there to control by using actionservlet , it reduce the lot of confusion. Using only one struts-config.xml we can confgure all the flow of control.
Businesslogic has writtten in design patterns.

  Was this answer useful?  Yes

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