Answer Posted / ashish
MVC stands for model view controller.If you take a Struts
web application then view consists of JSP . Its only to
show the client the view part not any other part. The
Controller will the action Servlet. Action Servlet
basically controlls the request from the view part and
calls respective Action class for business logic processing
and fetching data from the database.The model part consists
of Action class and helper class. It purely consists of the
business logic as well as the interface to access the
layer. The advantage of this pattern is Loose coupling.
Lets say you want to add the text field in JSP. That will
not required to change your Action class or Action Servlet.
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What are the categories in which the design patterns can be divided?
What is proxy in design pattern?
What is single tone design pattern in java?
What is the prototype design pattern?
How did you design your unit tests?What about integration tests?
What is the builder pattern?
What are the SDLC phases you have invloved ?
Can you explain singleton pattern?
Explain what are 5 common problems in the software development process?
Is oop a design pattern?
Is singleton an anti pattern?
Is bean a singleton?
What is the difference between architecture and design?
What are the most popular design patterns?
Why is singleton bad?