The architecture and components of Spring MVC
Having gone through your first Spring MVC application, it is now time to look at Spring MVC applications from an architectural perspective:
As the name implies, Spring MVC follows the renowned MVC architectural pattern. This pattern ensures the separation of concerns by dividing responsibilities into three major roles:
- Model: This represents data and business logic
- View: This represents presentation
- Controller: This processes client requests and delegates them to the view for rendering back to the client
The Model we are talking about here is not necessarily persistent data (a data model) ...
Get Spring MVC: Designing Real-World Web Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.