In this post, I want to explore a problem I am facing at my day job - when to generate a heavy dynamic lookup structure the app needs to process requests. We will look at the different options, reason through the pros and cons, and then also look at implementations of the different options in an example project.
[Read More]Docker: Multi-node environment with a load balancer from a local Java project war
In this post, we will look at how a developer can quickly create a multi-node environment from his local Java project using Docker Compose.
[Read More]Apache Maven Part 3 - Inheritance, aggregation and multi-module projects
This multi-post series is looking at Apache Maven.
In this third part, we will have a look at inheritance and aggregation in Maven and how everything comes together
to form multi-module Maven projects.
Apache Maven Part 2 - Build lifecycle and Apache Maven Plugins
This multi-post series is looking at Apache Maven. In the second part, we will take a closer look at the build lifecycle and the workers in Maven - Maven Plugins.
[Read More]Apache Maven Part 1 - Introduction and basics
This multi-post series will be looking at Apache Maven. In this first part, we will provide a high-level overview, explain some of the basics and show an example of a simple Maven managed project.
[Read More]Classloaders in Java
In this post, we will be looking at a very important part of the
Java Runtime Environment (or JRE) - Class loaders.
We will look at what they are, how they work and how we can implement our own custom class loader.
[Read More]Java Archive file - JAR
In this post, we will have a closer look at one of the basic building blocks in the Java ecosystem -
the Java ARchive or as it is more known, the JAR file.
We will describe what it is and how to create one.
Reflection in Java
Reflection is the ability of an application to inspect and modify the code in the system.
If an application can only inspect but not also modify the code then it only has the ability of introspection.
So for an application to be reflective it must also be able to modify its code at runtime.
[Read More]