Java
-
Testing REST with multiple MIME types
1. Overview This article will focus on testing a RESTful Service with multiple Media Types/representations. This is the tenth of…
Read More » -
Spring Property Placeholder Configurer – A few not so obvious options
Spring’s PropertySourcesPlaceholderConfigurer is used for externalizing properties from the Spring bean definitions defined in XML or using Java Config. There…
Read More » -
Hamcrest Containing Matchers
The Hamcrest 1.3 Javadoc documentation for the Matchers class adds more documentation for several of that class’s methods than were…
Read More » -
Java Thread Pool Example using Executors and ThreadPoolExecutor
A thread pool manages the pool of worker threads, it contains a queue that keeps tasks waiting to get executed.…
Read More » -
ETags for REST with Spring
1. Overview This article will focus on ETags – the Spring support, integration testing of the RESTful API, and consumption…
Read More » -
IntelliJ IDEA: Generate equals, hashCode and toString with Google Guava
THE PROBLEM In the world of Java, we’re quite often in the need of writing equals, hashCode and toString methods.…
Read More » -
Processing huge files with Java
I recently had to process a set of files containg historical tick-by-tick fx market data and quickly realized that none…
Read More » -
MapReduce Algorithms – Secondary Sorting
We continue with our series on implementing MapReduce algorithms found in Data-Intensive Text Processing with MapReduce book. Other posts in…
Read More » -
Hibernate Search 4.2 final released: spatial query supported
JBoss has announced the release of Hibernate Search 4.2 final. You may download it from Sourceforge or use the Maven…
Read More »