-
Core Java
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 » -
Enterprise Java
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 » -
Core Java
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 » -
Scala
Scala: Do you partially understand this?
Nearly everyone who learns Scala can get confused over the word partial used in the contexts: Partial functions Partially applied…
Read More » -
Software Development
Towards a Theory of Test-Driven Development
This post examines how well we really understand the practice of Test-Driven Development (TDD). …
Read More » -
Core Java
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 » -
Clojure
Clojure: Reading and writing a reasonably sized file
In a post a couple of days ago I described some code I’d written in R to find out all…
Read More » -
Enterprise Java
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 » -
Enterprise Java
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 »