Recent Posts

Sealed Interfaces and Pattern Matching: A Quick Dive into Java’s Modern Capabilities

Sealed classes in Java are a new feature that provides a way to restrict the classes that can inherit from a superclass or extend an interface. This new language feature enhances the encapsulation and provides more control to developers over their codebase. In this tutorial, we will explore sealed classes, how to use them to find all subclasses, and how …

Read More »

We All Grow Older, But Do Our Projects Really Have To?

We have all likely worked on a project, that has grown quite “mature” over time, who knows we might even have forgotten to keep our dependencies up to date? Mayhap we finally got the green light to move from JDK 8 to 17? This will quite likely entail a lot of library updates, and maybe some interesting changes (cough javax …

Read More »

Starting Apache Kafka – Java Producer & Consumer (Windows 10)

This is part 2 of a two part series on Starting Apache Kafka Server, Configuring Kafka Topic, and Creating a Core Java Based Kafka Consumer, as also a Core Java Based Kafka Producer. All this is demonstrated in step-by-step examples. All of this is for Java v8.0, Apache Kafka v3.4 on Windows 10. Part 1 focused on Kafka Consumer and …

Read More »