SlideShare a Scribd company logo
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
component. 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 requests
coming from the view or user interface. The data
flow to whole application is controlled by controller.
It forwarded the request to the appropriate handler.
Only the controller is responsible for accessing
model and rendering it into various UIs.

More Related Content

What's hot

Design patterns
Design patternsDesign patterns
Design patterns
Ahmed Elharouny
 
Case Study On Web-Based Application For Managing Multiple Clinics
Case Study On Web-Based Application For Managing Multiple ClinicsCase Study On Web-Based Application For Managing Multiple Clinics
Case Study On Web-Based Application For Managing Multiple Clinics
Grey Matter India Technologies PVT LTD
 
System Specification Report.
System Specification Report.System Specification Report.
System Specification Report.
Shivakant Dubey
 
Design patterns
Design patternsDesign patterns
Design patterns
Mobicules Technologies
 
Case Study for Web Based Dispute Resolution Application
Case Study for Web Based Dispute Resolution ApplicationCase Study for Web Based Dispute Resolution Application
Case Study for Web Based Dispute Resolution Application
Mike Taylor
 
Mvvm in the real world tccc10
Mvvm in the real world   tccc10Mvvm in the real world   tccc10
Mvvm in the real world tccc10
Bryan Anderson
 
ModLate: An Innovative Model For The Construction Of Web Templates For CMSs
ModLate: An Innovative Model For The Construction Of Web Templates For CMSsModLate: An Innovative Model For The Construction Of Web Templates For CMSs
ModLate: An Innovative Model For The Construction Of Web Templates For CMSs
Piero Quintavalle
 
Mvvm
MvvmMvvm

What's hot (8)

Design patterns
Design patternsDesign patterns
Design patterns
 
Case Study On Web-Based Application For Managing Multiple Clinics
Case Study On Web-Based Application For Managing Multiple ClinicsCase Study On Web-Based Application For Managing Multiple Clinics
Case Study On Web-Based Application For Managing Multiple Clinics
 
System Specification Report.
System Specification Report.System Specification Report.
System Specification Report.
 
Design patterns
Design patternsDesign patterns
Design patterns
 
Case Study for Web Based Dispute Resolution Application
Case Study for Web Based Dispute Resolution ApplicationCase Study for Web Based Dispute Resolution Application
Case Study for Web Based Dispute Resolution Application
 
Mvvm in the real world tccc10
Mvvm in the real world   tccc10Mvvm in the real world   tccc10
Mvvm in the real world tccc10
 
ModLate: An Innovative Model For The Construction Of Web Templates For CMSs
ModLate: An Innovative Model For The Construction Of Web Templates For CMSsModLate: An Innovative Model For The Construction Of Web Templates For CMSs
ModLate: An Innovative Model For The Construction Of Web Templates For CMSs
 
Mvvm
MvvmMvvm
Mvvm
 

Viewers also liked

Lecture4 oopj
Lecture4 oopjLecture4 oopj
Lecture4 oopj
Dhairya Joshi
 
Presentacion
PresentacionPresentacion
Presentacion
Anabel Yera
 
Lecture2 oopj
Lecture2 oopjLecture2 oopj
Lecture2 oopj
Dhairya Joshi
 
Lecture5 oopj
Lecture5 oopjLecture5 oopj
Lecture5 oopj
Dhairya Joshi
 
Lecture1 oopj
Lecture1 oopjLecture1 oopj
Lecture1 oopj
Dhairya Joshi
 
Sistema Génesis y Portales Institucionales
Sistema Génesis y Portales InstitucionalesSistema Génesis y Portales Institucionales
Sistema Génesis y Portales Institucionales
Miguel_arci
 
Lecture7 oopj
Lecture7 oopjLecture7 oopj
Lecture7 oopj
Dhairya Joshi
 
Lecture6 oopj
Lecture6 oopjLecture6 oopj
Lecture6 oopj
Dhairya Joshi
 
Lecture3 oopj
Lecture3 oopjLecture3 oopj
Lecture3 oopj
Dhairya Joshi
 
02 Hidup ini Pilihan
02 Hidup ini Pilihan02 Hidup ini Pilihan
02 Hidup ini Pilihan
tsabitamuninggar
 
CROWNLINE 180 Br, 2006, £13,995 For Sale Brochure. Presented By yachtingelite...
CROWNLINE 180 Br, 2006, £13,995 For Sale Brochure. Presented By yachtingelite...CROWNLINE 180 Br, 2006, £13,995 For Sale Brochure. Presented By yachtingelite...
CROWNLINE 180 Br, 2006, £13,995 For Sale Brochure. Presented By yachtingelite...
Wolfgang Stolle
 
Laporan praktikum fisika dasar
Laporan praktikum fisika dasarLaporan praktikum fisika dasar
Laporan praktikum fisika dasar
Operator Warnet Vast Raha
 
կաղամարներ և ութոտնուկներ
կաղամարներ և ութոտնուկներկաղամարներ և ութոտնուկներ
կաղամարներ և ութոտնուկներganyan
 
Comunicacion oral
Comunicacion oralComunicacion oral
Comunicacion oral
johannacardona78
 
Sor
SorSor
Las 7 maravillas del mundo
Las 7 maravillas del mundoLas 7 maravillas del mundo
Las 7 maravillas del mundo
joselyn97
 
Quantum Physics - Tunnelling
Quantum Physics - TunnellingQuantum Physics - Tunnelling
Quantum Physics - Tunnelling
TL Lee
 

Viewers also liked (20)

Lecture4 oopj
Lecture4 oopjLecture4 oopj
Lecture4 oopj
 
Presentacion
PresentacionPresentacion
Presentacion
 
Lecture2 oopj
Lecture2 oopjLecture2 oopj
Lecture2 oopj
 
Lecture5 oopj
Lecture5 oopjLecture5 oopj
Lecture5 oopj
 
Lecture1 oopj
Lecture1 oopjLecture1 oopj
Lecture1 oopj
 
Sistema Génesis y Portales Institucionales
Sistema Génesis y Portales InstitucionalesSistema Génesis y Portales Institucionales
Sistema Génesis y Portales Institucionales
 
Lecture7 oopj
Lecture7 oopjLecture7 oopj
Lecture7 oopj
 
Lecture6 oopj
Lecture6 oopjLecture6 oopj
Lecture6 oopj
 
Lecture3 oopj
Lecture3 oopjLecture3 oopj
Lecture3 oopj
 
02 Hidup ini Pilihan
02 Hidup ini Pilihan02 Hidup ini Pilihan
02 Hidup ini Pilihan
 
CROWNLINE 180 Br, 2006, £13,995 For Sale Brochure. Presented By yachtingelite...
CROWNLINE 180 Br, 2006, £13,995 For Sale Brochure. Presented By yachtingelite...CROWNLINE 180 Br, 2006, £13,995 For Sale Brochure. Presented By yachtingelite...
CROWNLINE 180 Br, 2006, £13,995 For Sale Brochure. Presented By yachtingelite...
 
Laporan praktikum fisika dasar
Laporan praktikum fisika dasarLaporan praktikum fisika dasar
Laporan praktikum fisika dasar
 
կաղամարներ և ութոտնուկներ
կաղամարներ և ութոտնուկներկաղամարներ և ութոտնուկներ
կաղամարներ և ութոտնուկներ
 
Pidato bahasa inggris tentang narkoba
Pidato bahasa inggris tentang narkobaPidato bahasa inggris tentang narkoba
Pidato bahasa inggris tentang narkoba
 
Comunicacion oral
Comunicacion oralComunicacion oral
Comunicacion oral
 
Naskah drama bawang merah bawan1
Naskah drama bawang merah bawan1Naskah drama bawang merah bawan1
Naskah drama bawang merah bawan1
 
Sor
SorSor
Sor
 
Makalah pengembangan sistem evaluasi pai 7
Makalah pengembangan sistem evaluasi pai 7Makalah pengembangan sistem evaluasi pai 7
Makalah pengembangan sistem evaluasi pai 7
 
Las 7 maravillas del mundo
Las 7 maravillas del mundoLas 7 maravillas del mundo
Las 7 maravillas del mundo
 
Quantum Physics - Tunnelling
Quantum Physics - TunnellingQuantum Physics - Tunnelling
Quantum Physics - Tunnelling
 

Similar to Lecture10 oopj

Android DesignArchitectures.pptx
Android DesignArchitectures.pptxAndroid DesignArchitectures.pptx
Android DesignArchitectures.pptx
SafnaSaff1
 
Ppt of Basic MVC Structure
Ppt of Basic MVC StructurePpt of Basic MVC Structure
Ppt of Basic MVC Structure
Dipika Wadhvani
 
IRJET- MVC Framework: A Modern Web Application Development Approach and Working
IRJET- MVC Framework: A Modern Web Application Development Approach and WorkingIRJET- MVC Framework: A Modern Web Application Development Approach and Working
IRJET- MVC Framework: A Modern Web Application Development Approach and Working
IRJET Journal
 
Model View Controller
Model View ControllerModel View Controller
Model View Controller
Madhukar Kumar
 
Mvc, mvp, mvvm...
Mvc, mvp, mvvm...Mvc, mvp, mvvm...
Mvc, mvp, mvvm...
Yury Kisliak
 
Mvc pattern and implementation in java fair
Mvc   pattern   and implementation   in   java fairMvc   pattern   and implementation   in   java fair
Mvc pattern and implementation in java fair
Tech_MX
 
Mvc, mvp & mvvm (erp)
Mvc, mvp & mvvm (erp)Mvc, mvp & mvvm (erp)
Mvc, mvp & mvvm (erp)
Ayesha Maqsood
 
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptxWhat Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
QuickwayInfoSystems3
 
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptxWhat Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
QuickwayInfoSystems3
 
MVC Architecture
MVC ArchitectureMVC Architecture
MVC Architecture
Prem Sanil
 
Task 2 - Educational Article – Model View Controller (MVC)
Task 2 - Educational Article – Model View Controller (MVC)Task 2 - Educational Article – Model View Controller (MVC)
Task 2 - Educational Article – Model View Controller (MVC)
Shubham Goenka
 
Design Pattern
Design PatternDesign Pattern
Design Pattern
Pawan Kumar Tiwari
 
Design pattern
Design patternDesign pattern
Design pattern
Pawan Kumar Tiwari
 
Mvc Architecture in a web based application
Mvc Architecture in a web based applicationMvc Architecture in a web based application
Mvc Architecture in a web based application
OnGraph Technologies Pvt. Ltd.
 
Web engineering - MVC
Web engineering - MVCWeb engineering - MVC
Web engineering - MVC
Nosheen Qamar
 
MVC
MVCMVC
Interaction-Oriented Architecture.pptx
Interaction-Oriented Architecture.pptxInteraction-Oriented Architecture.pptx
Interaction-Oriented Architecture.pptx
Godwin Monserate
 
Model View Controller (MVC)
Model View Controller (MVC)Model View Controller (MVC)
Model View Controller (MVC)
Javier Antonio Humarán Peñuñuri
 
MVC Seminar Presantation
MVC Seminar PresantationMVC Seminar Presantation
MVC Seminar Presantation
Abhishek Yadav
 
MVC in PHP
MVC in PHPMVC in PHP
MVC in PHP
Vineet Kumar Saini
 

Similar to Lecture10 oopj (20)

Android DesignArchitectures.pptx
Android DesignArchitectures.pptxAndroid DesignArchitectures.pptx
Android DesignArchitectures.pptx
 
Ppt of Basic MVC Structure
Ppt of Basic MVC StructurePpt of Basic MVC Structure
Ppt of Basic MVC Structure
 
IRJET- MVC Framework: A Modern Web Application Development Approach and Working
IRJET- MVC Framework: A Modern Web Application Development Approach and WorkingIRJET- MVC Framework: A Modern Web Application Development Approach and Working
IRJET- MVC Framework: A Modern Web Application Development Approach and Working
 
Model View Controller
Model View ControllerModel View Controller
Model View Controller
 
Mvc, mvp, mvvm...
Mvc, mvp, mvvm...Mvc, mvp, mvvm...
Mvc, mvp, mvvm...
 
Mvc pattern and implementation in java fair
Mvc   pattern   and implementation   in   java fairMvc   pattern   and implementation   in   java fair
Mvc pattern and implementation in java fair
 
Mvc, mvp & mvvm (erp)
Mvc, mvp & mvvm (erp)Mvc, mvp & mvvm (erp)
Mvc, mvp & mvvm (erp)
 
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptxWhat Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
 
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptxWhat Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
What Are The Benefits Of Using MVC Framework In ASP.NET Development.pptx
 
MVC Architecture
MVC ArchitectureMVC Architecture
MVC Architecture
 
Task 2 - Educational Article – Model View Controller (MVC)
Task 2 - Educational Article – Model View Controller (MVC)Task 2 - Educational Article – Model View Controller (MVC)
Task 2 - Educational Article – Model View Controller (MVC)
 
Design Pattern
Design PatternDesign Pattern
Design Pattern
 
Design pattern
Design patternDesign pattern
Design pattern
 
Mvc Architecture in a web based application
Mvc Architecture in a web based applicationMvc Architecture in a web based application
Mvc Architecture in a web based application
 
Web engineering - MVC
Web engineering - MVCWeb engineering - MVC
Web engineering - MVC
 
MVC
MVCMVC
MVC
 
Interaction-Oriented Architecture.pptx
Interaction-Oriented Architecture.pptxInteraction-Oriented Architecture.pptx
Interaction-Oriented Architecture.pptx
 
Model View Controller (MVC)
Model View Controller (MVC)Model View Controller (MVC)
Model View Controller (MVC)
 
MVC Seminar Presantation
MVC Seminar PresantationMVC Seminar Presantation
MVC Seminar Presantation
 
MVC in PHP
MVC in PHPMVC in PHP
MVC in PHP
 

Lecture10 oopj

  • 1. 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 component. 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 requests coming from the view or user interface. The data flow to whole application is controlled by controller.
  • 2. It forwarded the request to the appropriate handler. Only the controller is responsible for accessing model and rendering it into various UIs.