Java
-

Serializing Java Objects with Non-Serializable Attributes
There are multiple reasons one might want to use custom serialization instead of relying on Java’s default serialization. One of…
Read More » -

Three Reasons Why I Like the Builder Pattern
There are three ways to create new objects in Java programming language: The telescoping constructor (anti)pattern The Javabeans pattern The…
Read More » -

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 » -

Spring JMS: Processing messages within transactions
1.Introduction This post will show you how an error in the execution of the consumer during the asynchronous reception of…
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 » -

Transparent PATCH support in JAX-RS 2.0
The PATCH method is one the the less well loved HTTP methods simple because until recently there really wasn’t a…
Read More » -

Error handling in Storm Trident topologies
This post summarizes my current approach to error handling when designing Storm Trident topologies. I focus here on code design,…
Read More » -

Customizing Log4j 2.0
We are getting closer and closer to a Log4j 2 GA release and for that reason we should start looking…
Read More »




