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 the purpose of @stringlengthfieldvalidator annotation?

611


What types of validations are available in xml based validation in struts2?

560


How interceptor works in struts 2?

603


How properties of a form are validated in Struts?

576


What’s the difference between struts and turbine?

566






Explain about the future of struts?

545


How you will make available any message resources definitions file to the struts framework environment?

565


Give the details of xml files used in validator framework?

596


How struts 2 validation works?

586


Give an example of validates method used to avoid errors.

514


When it’s useful to use IncludeAction?

558


In how many ways duplicate form submission can occurs?

580


What is spring and struts in java?

525


What are the steps required for setting up validator framework in struts?

574


How to build struts application in eclipse?

535