Core Java
-

Replacing Multiple Conditionals with Polymorphism and Composition
It’s a fairly well known refactoring pattern to replace conditionals with polymorphism. If you’re not familiar with the pattern, you…
Read More » -

Reading/writing compressed and not compressed files in Java
Main reason for this post is trying don’t repeat yourself (DRY) because, often, I fall in the recursive need to…
Read More » -

A persistent KeyValue Server in 40 lines and a sad fact
Advent time again .. picking up Peters well written overview on the uses of Unsafe, i’ll have a short fly-by…
Read More » -

Three Common Methods Generated in Three Java IDEs
In this post, I look at the differences in three “common” methods [equals(Object), hashCode(), and toString()] as generated by NetBeans…
Read More » -

Asynchronous timeouts with CompletableFuture
One day I was rewriting poorly implemented multi-threaded code that was blocking at some point on Future.get(): …
Read More » -

Book Review: Mastering Lambdas: Java Programming in a Multicore World
λ-programming (lambda-programming) has finally been introduced in the Java world as of version 8. It is the feature that will…
Read More » -

The Java Ecosystem – My top 5 highlights of 2014
1. February the 1st – RedMonk Analyst firm declares that Java is more popular & diverse than ever! The Java…
Read More » -

Looking into the Java 9 Money and Currency API (JSR 354)
JSR 354 defines a new Java API for working with Money and Currencies, which is planned to be included in…
Read More » -

How is Java / JVM built ? Adopt OpenJDK is your answer!
Introduction & history As some of you may already know, starting with Java 7, OpenJDK is the Reference Implementation (RI)…
Read More »

