Core Java
-
Built-in Fake Objects
While mock objects are perfect instruments for unit testing, mocking through mock frameworks may turn your unit tests into an…
Read More » -
Hazelcast’s MapLoader pitfalls
One of the core data structures provided by Hazelcast is IMap<K, V> extendingjava.util.concurrent.ConcurrentMap – which is basically a distributed map,…
Read More » -
Asynchronous SQL Execution with jOOQ and Java 8’s CompletableFuture
Reactive programming is the new buzzword, which essentially just means asynchronous programming or messaging. Fact is that functional syntax greatly…
Read More » -
ChoiceFormat: Numeric Range Formatting
The Javadoc for the ChoiceFormat class states that ChoiceFormat “allows you to attach a format to a range of numbers”…
Read More » -
Reduce Boilerplate Code in your Java applications with Project Lombok
One of the most frequently voiced criticisms of the Java programming language is the amount of Boilerplate Code it requires.…
Read More » -
Common Mistakes Junior Developers Do When Writing Unit Tests
It’s been 10 years since I wrote my first unit test. Since then, I can’t remember how many thousands of…
Read More » -
How Nashorn Impacts API Evolution on a New Level
Following our previous article about how to use jOOQ with Java 8 and Nashorn, one of our users discovered a…
Read More » -
Maven Common Problems and Pitfalls
Love it or hate it (and a lot of people seem to hate it), Maven is a widely used tool…
Read More » -
Processing Java Annotations Using Reflection
In my previous article covering Java Annotations, I outlined a recent use case and provided you with some examples of custom…
Read More »