Core Java
-

Optional and Objects: Null Pointer Saviours!
No one loves Null Pointer Exceptions ! Is there a way we can get rid of them ? Maybe . . . …
Read More » -

JUnit in a Nutshell: Yet Another JUnit Tutorial
Why Another JUnit Tutorial? JUnit seems to be the most popular testing tool for developers within the Java world. So…
Read More » -

Tips for (unit testing) JavaBeans
If you’re writing Java code chances are you’re writing at least a few classes that adhere to the JavaBean conventions,…
Read More » -

Eliminating Development Redeploys using Gradle
For service development, my team recently moved away from Grails to the Dropwizard framework. One of the things I really…
Read More » -

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 »




