1. Introduction A JAR file is an archive that contains the classes and resources of a Java application. We can either treat it as a library so that...
Continue Reading1. Introduction Every Maven project includes a packaging property that specifies the artifact type like jar, war, and others. The default packaging...
Continue Reading1. Overview Java provides various Set implementations tailored for different use cases. In this tutorial, we're going to examine these Set implemen...
Continue Reading1. Introduction When we execute a task using a thread pool or a dedicated thread, it runs without being aware of other threads. However, there are ...
Continue Reading1. Overview With the default Maven layout, we store resource files under the src/main/resources directory. After a build, Maven moves these files t...
Continue Reading1. Overview By default, Maven uses the /project-path/src/main/java directory as the only source directory. However, in some cases, we need to defin...
Continue Reading1. Overview When using Orika, we generally map mutable JavaBean objects that contain getters and setters. But Orika also provides support to work w...
Continue Reading1. Overview In this tutorial, we're going to investigate the details of the JVM shutdown. Firstly we'll see in which conditions the JVM shuts down....
Continue Reading1. Overview ExecutorService is the central mechanism to execute tasks in Java. When we run our tasks in a thread pool backed by an ExecutorService,...
Continue Reading1. Overview When we work with generics, Java enforces type safety only during the compilation time. At runtime, Java erases type information and we...
Continue Reading