Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is MVC Architecture?

Answer Posted / ajit shanbhag

MVC is Model View Controller architecture. There is nothing
called as MVC1 architecture. The types are differentiated
as follows:

1. MVC -> Here the jsp acts as the controller.
2. MVC2 -> Here the flow is controlled by a single servlet.

Basically, the intension of the MVC architecture is to
provide flexibility and improve the performance of the
application by seperating the applcation into three layers.
The Model layer consists of the business logic and
interacts with the database. This consists of the java
beans, the EJBs etc. The output to the client is presented
by using the View layer. This consists of the jsps, html
etc. The controller controls the flow of the application.
In MVC application the jsp acts as the controller which
recieves the request and sends the response. Whereas in
MVC2 architecture there is central servlet which acts as a
single point control for the applcation flow. The response
is provided by the jsp.

Is This Answer Correct ?    42 Yes 55 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the contents on web.xml in struts application ?

987


What is package name in struts xml?

1009


What is the differences between struts1 and struts2?

941


What is the purpose of constant tag in struts.xml?

956


How does struts2 token work?

988


What do you mean by inner class and anonymous class?

1094


What is life cycle of an interceptor?

1060


What are action errors?

998


What is the life cycle of actionform?

1024


What are the pros of struts 2?

977


Provide some important Struts2 constants that you have used?

1008


What is the use of namespace in action mapping in Struts2?

1059


Explain the complete struts validator framework.

1028


Can you explain value stack?

926


What are the applications of struts?

963