Core Java
-
Retryable operations
In every project that I’ve worked on, there’s always a need of a certain piece of functionality: retrying an operation.…
Read More » -
Easy and Consistent Log4j2 Logger Naming
In the post Portable Logger Names with Java 7 Method Handles, I wrote about using Java 7‘s method handles to…
Read More » -
Common misconception: How many objects does this create?
Overview A common question is how many objects or how many Strings does a section of code create. Often the…
Read More » -
Creating sample HTTPS server for fun and profit
Often during development or/and testing against real-life scenarios we, developers, are facing a need to run a full-fledged HTTPS server,…
Read More » -
5 Weird Java Questions That Will Make Your Head Spin
Some of the weirdest Java puzzlers that we had a chance to get our hands on Even the most experienced…
Read More » -
What the Heck Is Mutation Testing?
In recent times, I came repeatedly upon the term mutation testing. Since the word is that this approach is able…
Read More » -
Wrap around design pattern in java8
Wrap around pattern is not listed in in GOF book but is very useful for problem like below: Loop construct…
Read More » -
Visitor Design Pattern Example
This article is part of our Academy Course titled Java Design Patterns. In this course you will delve into a…
Read More » -
Iterator Design Pattern Example
This article is part of our Academy Course titled Java Design Patterns. In this course you will delve into a…
Read More »