Spring Data JPA Repository Populators 1. Introduction In this quick article, we’ll explore Spring JPA Repository Populators with a quick example. The Spring Data JPA repository populator is a great alternative for data.sql script. Spring Data JPA repository populator supports JSON and XML file formats. In the following sections, we’ll… Continue Reading spring-data-jpa-repository-populators

Java Streams vs Vavr Streams 1. Introduction In this article, we’ll be looking at how Stream implementations differ in Java and Vavr. This article assumes familiarity with the basics of both Java Stream API and the Vavr library. 2. Comparison Both implementations represent the same concept of lazy sequences but differ in details.… Continue Reading vavr-java-streams

Spring Security – Customize the 403 Forbidden/Access Denied Page 1. Introduction In this article, we will show how to customize the access denied page in a Spring Security project. This can be achieved either through the Spring Security configuration or web application configuration in the web.xml file. In the remaining… Continue Reading spring-security-custom-access-denied-page

Spring Maven Repositories 1. Overview This article will show what Maven Repositories to use when using Spring artifacts in a project – see the full list of repositories on the Spring wiki. The previous SpringSource artifact management infrastructure was maven.springframework.org – this has now been deprecated in favour of the… Continue Reading spring-maven-repository

Introduction to Atomix 1. Overview Most distributed applications require some stateful component to be consistent and fault-tolerant. Atomix is an embeddable library helping in achieving fault-tolerance and consistency for distributed resources. It provides a rich set of APIs for managing its resources like collections, groups, and tools for concurrency. To… Continue Reading atomix