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 is a lazy initialization in singleton?
Which design patterns have you used in your project ?
What is the design pattern?
What is meant by design pattern?
What is the prototype design pattern?
What are the 23 design patterns?
4. Identify and bound the SOI’s Operating Environment.
Shall we use abstract classes or interfaces in policy / strategy design pattern?
Are singletons bad?
What are the design patterns you know explain?
Can you explain singleton pattern?
What are the additional productivity features and enhancements included with Quartus II software version 6.0?
What is the use of repository pattern?
Write the code for a singleton class?
Is singleton a design pattern?