Spring 5 Testing with @EnabledIf Annotation 1. Introduction In this quick article, we’ll discover the @EnabledIf and @DisabledIf annotations in Spring 5 using JUnit 5. Simply put, those annotations make it possible to disable/enable particular test if a specified condition is met. We’ll use a simple test class to show… Continue Reading spring-5-enabledIf

Spring Scheduling Annotations 1. Overview When single-threaded execution isn’t enough, we can use annotations from the org.springframework.scheduling.annotation package. In this quick tutorial, we’re going to explore the Spring Scheduling Annotations. 2. @EnableAsync With this annotation, we can enable asynchronous functionality in Spring. We must use it with @Configuration: @Configuration @EnableAsync… Continue Reading spring-scheduling-annotations

Introduction to OpenCSV 1. Introduction This quick article introduces OpenCSV 4, a fantastic library for writing, reading, serializing, deserializing, and/or parsing .csv files! Below, we’ll go through several examples demonstrating how to set up and use OpenCSV 4 for your endeavors. 2. Set-Up Here’s how to add OpenCSV to your… Continue Reading opencsv