Model View Controller( MVC )
Model View Controller( MVC ) is a web application development model. The main components of this development model are as follows:
The controller is the heart of the web application. The Controller maintains the entire flow of the web application. This component acts as the entry point for the client’s request and the exit point of the application response to the client. The controller component acts as the mediator between the Model and View components.
Example: Java Servlet
The Model component contains the business logic of the web application. The business logic component communicates with the backend resources and gets a result for the given request.
Example: Java Bean/ EJB, Spring
The View component contains the presentation logic of the web application. The Model and View components do not talk to each other. The communication between the models should be through the Controller. The View component gets the data from the Model component and applies the presentation logic to the data.
Example: JSP pages
Java Tutorial on this website:
For more information on Java, visit the official website :