What is MVC Architecture?

Answer Posted / hrishikesh nandanwar

Model-View-Controller (MVC)
Model-View-Controller architecture is used for interactive
web-applications. This model minimizes the coupling between
business logic and data presentation to web user. This
model divides the web based application into three layers:
1. Model: Model domain contains the business logics and
functions that manipulate the business data. It provides
updated information to view domain and also gives response
to query. And the controller can access the functionality
which is encapsulated in the model.
2. View: View is responsible for presentation aspect of
application according to the model data and also
responsible to forward query response to the controller.
3. Controller: Controller accepts and intercepts user
requests and controls the business objects to fulfill these
requests. An application has one controller for related
functionality. Controller can also be depends on the type
of clients.

Is This Answer Correct ?    35 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is action chaining ?

644


What is the use of struts?

522


When it’s useful to use IncludeAction?

556


What is struts2 in java?

538


Can we have multiple struts config files ?

543






Explain about tiles?

581


What is struts actionmapping?

531


how to debug struts project in netbean ?

1925


Explain design patterns which is used in struts?

540


What is value stack?

629


Are the struts tags xhtml compliant ?

544


What is the use of resourcebundle.properties file in Struts Validation framework?

582


What is execute method in struts?

500


What is the purpose of execute() method?

577


How exceptions are handled in struts application?

540