Guide to UriComponentsBuilder in Spring 1. Introduction In this tutorial, we are going to focus on the Spring UriComponentsBuilder. More specifically, we’ll describe various practical implementation examples. The builder works in conjunction with the UriComponents class – an immutable container for URI components. A new UriComponentsBuilder class helps to create… Continue Reading spring-uricomponentsbuilder

The Registration Process With Spring Security 1. Overview In this article, we’ll implement a basic registration process with Spring Security. This is building on top of concepts explored in the previous article, where we looked at login. The goal here is to add a full registration process that allows a… Continue Reading registration-with-spring-mvc-and-spring-security

Filtering Jackson JSON Output Based on Spring Security Role 1. Overview In this quick tutorial, we’ll show how to filter JSON serialization output depending on a user role defined in Spring Security. 2. Why Do We Need To Filter? Let’s consider a simple yet common use case where we have… Continue Reading spring-security-role-filter-json

Kotlin and Javascript 1. Overview Kotlin is a next-generation programming language developed by JetBrains. It gains popularity with the Android development community as a replacement for Java. Another exciting feature of Kotlin is the support of server- and client-side JavaScript. In this article, we’re going to discuss how to write server-side JavaScript applications… Continue Reading kotlin-javascript

Introduction to Dubbo 1. Introduction Dubbo is an open-source RPC and microservice framework from Alibaba. Among other things, it helps enhance service governance and makes it possible for a traditional monolith applications to be refactored smoothly to a scalable distributed architecture. In this article, we’ll give an introduction to Dubbo… Continue Reading dubbo