Core Java
-

How I Test My Java Classes for Thread-Safety
I touched on this problem in one of my recent webinars, now it’s time to explain it in writing. Thread-safety…
Read More » -

Convenient mocking in Mockito with JUnit 5 – the official way
Starting with the version 2.17.0 Mockito provides the official (built-in) support for managing a mocking life cycle if JUnit 5…
Read More » -

Java 11 Will Include More Than Just Features
What are the upcoming features in Java 11, and how will it be different from Java 9 and 10? Java…
Read More » -

Creational Design Patterns: Builder Pattern
Previously we had a look at the factory and the abstract factory pattern. Those patterns serve their purpose and can…
Read More » -

Creational Design Patterns: Factory Pattern
Previously we had an introduction to the Creational Patterns and used the Abstract Factory Pattern in order to create a…
Read More » -

Creational Design Patterns: Abstract Factory Pattern
The Abstract Factory Pattern is a creational pattern and is one of the most popular patterns along with the builder…
Read More » -

Lombok, AutoValue and Immutables, or How to write less and better code returns
In the previous post about Lombok library, I have described a library that helps to deal with boilerplate code in…
Read More » -

Understanding Java Buffer Pool
Understanding Java Buffer Pool The buffer pool space is located outside of the garbage collector-managed memory. It’s a way to…
Read More » -

Forward-Looking with Java’s @Deprecated
I have occasionally run into a situation in which I have needed to introduce a new API or construct for…
Read More »

