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

Why do we need struts?

537


What are pull and push mvc architecture and which architecture does struts2 follow?

499


Is Struts Framework part of J2EE?

607


How action-mapping tag is used for request forwarding in struts configuration file?

572


What does action do in struts?

520






Name some useful annotations introduced in Struts2?

526


What is struts validator framework?

541


What is actioninvocation in struts2?

575


State the procedure for using forward attribute of link tag’s.

528


In which order struts framework searches for a message bundle?

549


Can we integrate struts with spring?

580


What is the default suffix for struts2 action uri ?

542


What are interceptors in struts 2?

569


What is role of actionservlet?

557


What is the configuration files used in struts?

517