CHAPTER 4

image

Spring @MVC

MVC is one of the most important modules of the Spring framework. It builds on the powerful Spring IoC container and makes extensive use of the container features to simplify its configuration.

Model-view-controller (MVC) is a common design pattern in UI design. It decouples business logic from UIs by separating the roles of model, view, and controller in an application. Models are responsible for encapsulating application data for views to present. Views should only present this data, without including any business logic. Controllers are responsible for receiving requests from users and invoking back-end services for business ...

Get Spring Recipes: A Problem-Solution Approach, Third Edition 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.