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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.