In This tutorial you will learn about Model View Control design pattern of java

Java MVC ( Model View Controller ) Design Pattern

Model View controller is a classical design pattern used in applications who
needs a clean separation between their business logic and view who represents
data. MVC design pattern isolates the application logic from the user interface
and permitted the individual development, testing and maintenance for each
components. This design pattern is divided into three parts.

1. Model- This component manages the information and notify
the observers when the information changes. It represents the data when on
which the application operates. The model provides the persistent storage of
data, which manipulated by the controller.

2. View- The view displays the data , and also takes input
from user. It renders the model data into a form to display to the user. there
can be several view associated with a single model. It is actually
representation of model data.

3. Controller- The controller handles all request coming
from the view or user interface. The data flow to whole application is
controlled by controller. It forwarded the request to the appropriate handeler.
Only the controller is responsible for accessing model and rendering it into
various UIs.

Model View Controller Diagram

A Simple Example of Model view Controller design pattern is given below