Java
-
Leaky Abstractions, or How to Bind Oracle DATE Correctly with Hibernate
We’ve recently published an article about how to bind the Oracle DATE type correctly in SQL / JDBC, and jOOQ.…
Read More » -
Three Common Methods Generated in Three Java IDEs
In this post, I look at the differences in three “common” methods [equals(Object), hashCode(), and toString()] as generated by NetBeans…
Read More » -
A beginner’s guide to transaction isolation levels in enterprise Java
Introduction A relational database strong consistency model is based on ACID transaction properties. In this post we are going to…
Read More » -
Asynchronous timeouts with CompletableFuture
One day I was rewriting poorly implemented multi-threaded code that was blocking at some point on Future.get(): …
Read More » -
My Wiki: Remote JMX access to WildFly (or JBoss AS7) using JConsole
One of the goals of JBoss AS7 was to make it much more secure by default, when compared to previous…
Read More » -
Spring retry – ways to integrate with your project
If you have a need to implement robust retry logic in your code, a proven way would be to use…
Read More » -
SSL / TLS REST Server – Client with Spring and TomEE
When building a system, developers usually disregard the security aspects. Security has been always something very important to worry about,…
Read More » -
How to mock Spring bean without Springockito
I work with Spring several years. But I was always frustrated with how messy can XML configuration become. As various…
Read More » -
Book Review: Mastering Lambdas: Java Programming in a Multicore World
λ-programming (lambda-programming) has finally been introduced in the Java world as of version 8. It is the feature that will…
Read More »