What is MVC Architecture?

Answer Posted / deepak

This MVC architecture is just a virtual representation of
an application.

Consists of 3 parts:
1> Model
2> View
3> Controller

The main motive of implementing the MVC Architecture is to
seperate the application data as well as the bussiness
logic from the presentation data for the user.

Model: When someone declares and defines the class
attribute names as well as the methods in order to define
the underlying bussiness logic for the problem statement(in
java).

View: This the output what the client observes or views on
his system or terminal.Thsi is the GUI interface that the
client directly interacts with.

Controller: Is the medium of interaction between the user
view and the bussiness logic . In other words , it is the
medium of interaction vbetween the model and the view. It
retrives the information from the view and sends it to the
model for its processing.It ikntercepts user requests and i
turn control bussiness objects to fulfill these
requirements.

Is This Answer Correct ?    7 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of jsonvalidation?

816


What is Custom Type Converter in Struts2?

855


Which design pattern the interceptors in struts2 is based on?

719


What is the difference between struts1 and struts2?

729


Which file is used by controller to get mapping information for request routing?

807


What is difference between lookupdispatchaction and dispatchaction?

867


In which order struts framework searches for a message bundle?

740


What are the cons of struts 2?

764


Can you explain aware interfaces in struts2?

793


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

764


How can we work with error tags?

770


What’s the utilization of struts.xml configuration file?

728


How client side validation is enabled on a jsp form?

785


What is the forward action utilized for?

771


Why it called struts?

738