Core Java
-

How To Process Java Annotations
One of the cool new features of Java 8 is the support for lambda expressions. Lambda expressions lean heavily on…
Read More » -

How to get all Method information under a Class in Java Reflection?
This article is building on my previous post. In this article we will see how can we retrieve Class Related…
Read More » -

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 »

