When to initialize a heavy dynamic lookup structure

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]
Tags: spring  java  tomcat 

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]
Tags: java  classloaders 

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.

[Read More]
Tags: java  jars 

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]
Tags: java  reflection