what is MVC Pattern?

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


Please Help Members By Posting Answers For Below Questions

What are the categories in which the design patterns can be divided?

799


What is proxy in design pattern?

785


What is single tone design pattern in java?

763


What is the prototype design pattern?

817


How did you design your unit tests?What about integration tests?

1982


What is the builder pattern?

823


What are the SDLC phases you have invloved ?

2415


Can you explain singleton pattern?

809


Explain what are 5 common problems in the software development process?

800


Is oop a design pattern?

766


Is singleton an anti pattern?

762


Is bean a singleton?

732


What is the difference between architecture and design?

791


What are the most popular design patterns?

779


Why is singleton bad?

754