Router functions play a similar role in Spring Webflux as controllers in Spring MVC. Both are responsible for handling HTTP requests/responses. However, compare to controllers, new approach is not represented by a single…
Tag: Spring Webflux

In Spring MVC a server-side validation was implemented using annotations. We could just put @Valid before the body payload in the controller method and Spring did all dirty work for us. On the…

In the previous post we have already talked about authentication in Spring Webflux. We implemented a component, that contains a required business logic to process login and signup, and to issue JWT. However,…

One of issues when you work with relational databases in Java is that they are unable to translate object relationships (such as composition) due to the tabular nature of data sources. That means…

Unit tests serve to verify individual components, mostly on business logic level, and to ensure that components perform as expected. In Spring Webflux apps this level is a level of services. Here we…

The topic of error handling in web applications is very important. From a client perspective it is essential to know on how was the request proceeded and in case of any error is…