Core Java
-
Testing for expected exceptions in JUnit
Unit tests are used to verify that a piece of code operates as the developer expects it to. Sometimes, that…
Read More » -
Java 8 Friday Goodies: Lambdas and SQL
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
Java 8 Type Annotations
Lambda expressions are by far the most discussed and promoted feature of Java 8. While I agree that Lambdas are…
Read More » -
Mock final class
Foreword If you already read some other blog post about unusual mocking, you can skip prelude via this link. I…
Read More » -
Java: Handling a RuntimeException in a Runnable
At the end of last year I was playing around with running scheduled tasks to monitor a Neo4j cluster and…
Read More » -
Building and Running Java 8 Support
The Eclipse support for Java 8 is not yet available for download. If you want to play with it, you’ve…
Read More » -
Java 8 Friday Goodies: Lambdas and Sorting
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
ObjectStreamClass: Peeking at a Java Object’s Serialization
ObjectStreamClass can be a useful class to analyze the serialization characteristics of a serialized class loaded in the JVM. This…
Read More » -
5 tools for Java developers
A way to improve the Java code we write is to work with the best tools. So, let’s check out…
Read More »