Yuri Mednikov

Category: Case studies

Validation for Spring Webflux APIs with Yavi

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…

Some thoughts on server side validation with Vertx and a bit of Vavr

Eclipse Vertx is a robust technology to build reactive microservices or serverless functions. When you develop such applications, the role of server side validation rises. In traditional web applications we combine both client-side…

Server side validation in Javalin

When you are working on any somehow complex application, you need to enable validation. For example, if user submits a form or a request, your app should check, that data is in an…

How to check if a list contains a value in Clojure

Recently I started to learn Clojure, and usually, my first phase is to complete small programming exercises. To practice Clojure I decided to solve some CodingBat problems. A common task here is to…

Home made JWT authentication for Javalin

An authentication with tokens became a must-have feature for modern web apps. It suits natively to single page applications and mobile applications. While Spring is de facto standard in Java ecosystem, there are…

Secure Webflux API endpoints with HandlerFilterFunction

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,…

Simple email notification microservice using Vertx

Almost any more or less complex application has to deliver notifications. As usual, it is done via traditional emails, especially in cases of password reset messages or transactional notifications etc. There is a…

You don’t need Hibernate with Spring Webflux and R2DBC

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…

Testing Spring reactive services

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…

Error handling in Spring Webflux

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…

Older Posts »
Page 1 of 2