Core Java
-
Handling repeated code automatically
In this article I will describe how you can use Java::Geci generator Repeated to overcome the Java language shortage that…
Read More » -
Pub/Sub local emulator
Pub/Sub is a nice tool provided by GCP. It is really handy and can help you with the messaging challenges…
Read More » -
Can/Should I use parallel streams in a transaction context?
Introduction To make a long story short, you should not use transactions within a parallel stream. This is because each…
Read More » -
Double Check Locking in Java
In this post, we’ll be taking a look at some techniques of creating a Singleton object in RxJava. Most importantly,…
Read More » -
Identifying Code Smells In Java
As a software developer, it’s our responsibility to not only write code that works but rather write code that’s maintainable.…
Read More » -
SOLID Design Principles
Introduction: Robert C. Martin defined five object-oriented design principles: Single-Responsibility Principle Open-Closed Principle Liskov’s Substitution Principle Interface Segregation Principle, and…
Read More » -
Strategy Design Pattern In Java
The strategy design pattern is a behavioral pattern in which we have multiple algorithms/strategies for achieving a task and which…
Read More » -
Mediator Design Pattern In Java
In this tutorial, we’ll learn about a behavioral pattern that promotes loose coupling between several objects communicating with one another.…
Read More » -
Chain Of Responsibility Design Pattern In Java
In this tutorial, we’ll learn how to implement the Chain Of Responsibility Pattern in Java. The Chain Of Responsibility design…
Read More »