Distributed Java Locks With Redis

To ensure that no two threads can access the same resource and that the resource is operated in a predictable sequence, programmers use a method known as locks. Read all

JDK 12 Javadoc Tag for System Properties

Let's take a look at the latest release in the JDK 12 early access builds, the Javadoc tag @systemProperty, for documenting system properties. Read all

Java's Future-Looking Projects: Panama, Loom, Amber, and Valhalla

This article looks at some of the highlights from Oracle's CodeOne Java keynote outline, providing summaries on Project Panama, Valhalla, Amber, and Loom. Read all

Introduction to Reactive APIs With Postgres, R2DBC, Spring Data JDBC and Spring WebFlux

In this post, we are introduced to building reactive web applications using Postgres, R2DBC, Spring Data JDBC, and Spring WebFlux through sample code. Read all

Using Java 11 In Production: Important Things To Know

This post explores recent changes to the release cycle of the JDK, highlighting the latest Java 11 release, as well as its commercial and open-source versions. Read all

Secure Spring REST API Using OAuth2

In this tutorial, we demonstrate how to secure a Spring REST API using OAuth2 and the PostgreSQL database by configuring an authorization and resource server. Read all

Run a Spring Batch Job With Quartz

In this post, we take a look at how to run a Spring Batch job in Java and XML with the Quartz scheduler using two jobs to implement: tasklet and chunks. Read all

Mocking Methods for Testing Akka HTTP Routes

Here's an introductory tutorial to using Mockito to mock your methods when it comes to unit testing Akka HTTP Routes in DevOps testing on your applications. Read all

Decorator Design Pattern in Java

This tutorial demonstrates how to implement the decorator design pattern in Java through an example using the Shape class, adding behaviors to an object. Read all

Reactive Spring Security For WebFlux REST Web Services

This tutorial shows how to configure Spring Security for reactive and stateless WebFlux REST APIs with Spring Boot auto-configuration and user details service. Read all

 

 

 

 

Top