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
What is the use of web xml in struts2?
What is the purpose of redirect result type?
Describe validate() and reset() methods.
What are the contents on web.xml in struts application ?
Which interceptor is responsible for i18n support?
How can we write our own interceptor and map it for action?
What is the purpose of @createifnull annotation annotation?
What is the purpose of @urlvalidator annotation?
Explain about logic match tag?
What is the role of action class in struts?
Explain how to work with error tags?
How does struts work?
What is the difference between validation.xml and validator-rules.xml files in struts validation framework?
Why use struts framework in java?
What does it cost to replace struts?