☰ See All Chapters |
Model One Architecture
In this architecture a single web component i.e. a servlet or JSP contains all the code i.e. business logic, persistence logic and presentation logic.
Having single JSP/Servlet will be good for only very small applications. If the application is bigger, having all the presentation logic, business logic and persistence logic code in single servlet leads to the following problems.
Code duplication problem.
Maintenance problem for the frequently changing presentation logic.
Overall maintenance problem.
Code readability problem etc…
There will be no separation of between the code layers.
Project enhancement requires complete code rework.
All Chapters