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 helps with structuring asynchronous execution chains, and today, we'll see how we can do this in Java 8 using jOOQ and the new CompletableFuture API. In fact, things are quite simple: // Initiate an asynchronous … Continue reading Asynchronous SQL Execution with jOOQ and Java 8’s CompletableFuture

The Avajé Ebean Framework and asynchronous query execution

Yesterday, I posted about the Ollin Framework, which implements fetching data into callback types, similar to Spring's JdbcTemplate. Another idea I had recently discovered, is that of asynchronous query execution. Even if there are only few use cases for that in every day development life, sometimes it's interesting to be able to load data in … Continue reading The Avajé Ebean Framework and asynchronous query execution