Front-End App with Spring Security OAuth – Authorization Code Flow 1. Overview In this tutorial, we’ll continue our Spring Security OAuth series by building a simple front end for Authorization Code flow. Keep in mind that the focus here is the client-side; have a look at the Spring REST API + OAuth2… Continue Reading spring-security-oauth-authorization-code-flow

LongAdder and LongAccumulator in Java 1. Overview In this article, we’ll be looking at two constructs from the java.util.concurrent package: LongAdder and LongAccumulator. Both are created to be very efficient in the multi-threaded environment and both leverage very clever tactics to be lock-free and still remain thread-safe. 2. LongAdder Let’s… Continue Reading java-longadder-and-longaccumulator

Programmatically Creating Sequences with Project Reactor 1. Overview In this tutorial, we’ll use Project Reactor basics to learn a few techniques for creating Fluxes. 2. Maven Dependencies Let’s get started with a couple of dependencies. We’ll need reactor-core and reactor-test: <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-core</artifactId> <version>3.2.6.RELEASE</version> </dependency> <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-test</artifactId> <version>3.2.6.RELEASE</version> <scope>test</scope> </dependency> 3.… Continue Reading flux-sequences-reactor