Appendix B. Spring MVC and Thymeleaf Template Engine

In the next section, we’ll revisit Spring MVC and provide an overview to Thymeleaf template engine.

B.1 Revisiting Spring MVC

Spring MVC is one of the important modules of the Spring Framework. The model–view–controller (MVC) is the popular design pattern to build UI-based Web applications. MVC allows you to decouple the application design in terms of model, view, and controller. A model encapsulates business data which is presented by a view. A controller is responsible for addressing the user requests and invoking back-end business services. After business service invocation, the controller prepares the model with the data for the views to render in the UI.

Spring MVC is the Spring Framework’s ...

Get Spring Boot in Practice 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.