Skip to main content
PreparationZone Logo
PreparationZone
Back to Fundamentals

Fundamentals · Medium · Free

Explain MVC — how does it map to Spring/React apps?

FresherFundamentalsWeb & Full-Stack
Model answer

MVC mapping

Model data & business rules, View UI, Controller handles input and coordinates. Spring MVC: @Controller + Thymeleaf; React: components as View, hooks fetch API as controller-ish.

  • Separation eases testing models without UI
  • Fat models, thin controllers
Don't say React is MVC—say it separates UI components from data fetching.