Java
-
When null checking miserably fails
Disclaimer Before going on I have to state that the techniques described in this article serve no practical purpose when…
Read More » -
On Java Generics and Erasure
“Generics are erased during compilation” is common knowledge (well, type parameters and arguments are actually the ones erased). That happens…
Read More » -
Java 8 Streams: Micro Katas
A programming kata is an exercise which helps a programmer hone his skills through practice and repetition. This article is…
Read More » -
Beyond Thread Pools: Java Concurrency is Not as Bad as You Think
Apache Hadoop, Apache Spark, Akka, Java 8 streams and Quasar: The classic use cases to the newest concurrency approaches for Java…
Read More » -
Beginner’s Guide to Hazelcast Part 2
This article continues the series that I have started featuring Hazelcast, a distributed, in-memory database. If one has not read…
Read More » -
Lightweight Integration Tests for Eclipse Extensions
Recently I introduced a little helper for Eclipse extension point evaluation. The auxiliary strives to reduce boilerplate code for common…
Read More » -
Spring from the Trenches: Resetting Auto Increment Columns Before Each Test Method
When we are writing integration tests for a function that saves information to the database, we have to verify that…
Read More » -
Hibernate collections optimistic locking
Introduction Hibernate provides an optimistic locking mechanism to prevent lost updates even for long-conversations. In conjunction with an entity storage,…
Read More » -
Spring Caching abstraction and Google Guava Cache
Spring provides a great out of the box support for caching expensive method calls. The caching abstraction is covered in…
Read More »