IntroSpringMVC - 6
IntroSpringMVC - 6
Beginner to Guru
• M - Model
• V - View
• C - Controller
MVC
Client Request
Model
View
Spring MVC
Spring MVC
• MODEL - Simple POJO with collection of properties which may or may not be used by the
view
• VIEW - Data as requested by the client. Implemented with JSP, Thymeleaf, Jackson, etc.
Can be HTML, JSON, XML, text, etc.
Controller Service
Spring
Data JPA
View Model (POJO)
Spring MVC