© Marten Deinum and Iuliana Cosmina 2021
M. Deinum, I. CosminaPro Spring MVC with WebFluxhttps://doi.org/10.1007/978-1-4842-5666-4_6

6. Implementing Controllers: Advanced

Marten Deinum1   and Iuliana Cosmina2
(1)
MEPPEL, Drenthe, The Netherlands
(2)
EDINBURGH, UK
 

This chapter looks at some of the more advanced parts of Spring MVC and then shows how to tap into the framework to extend it to suit our needs.

We begin by examining scoped beans and how we can use them to our advantage. Next, we explore how we can add generic functionality (cross-cutting concerns) to our application. For this, we look at interceptors, including how to create them and how to wire them into our application.

No matter how robust or well-thought-out our application is, there will ...

Get Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 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.