Yuri Mednikov

Author: Yuri Mednikov

Spring HandlerInterceptor in Spring MVC

In software development there is a big number of cases when you need somehow to catch a request coming to server and do some pre-processing or post-processing. For example, it is must for…

Testing Spring Webflux router functions

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…

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…

How to use iterators in Java

The iterator pattern is one of approaches to access elements of a collection, alongside with streams. From a technical point of view, the iterator traverses elements in a sequential and predictable order. In…

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…

Exception handling in Clojure

In some form or another, but exceptions exist in almost any languages. Due to the fact, that Clojure actually runs on JVM, it inherits its exception system from Java. From a technical point…

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…

Understand Java Collections

When we talk about Java collections, we consider two things. First, more wide concept, means implementations of common data structures. An another, narrow understanding, corresponds to concrete interfaces and their implementations, that are…

Older Posts »
Page 1 of 2