-
Core Java
CompletableFuture can’t be interrupted
I wrote a lot about InterruptedException and interrupting threads already. In short if you call Future.cancel() not inly given Future…
Read More » -
Core Java
Automatic promotion of artifacts to Maven Central from Gradle
Quick tutorial how to promote/release artifacts in a Gradle project to Maven Central, without clicking in the Nexus GUI with…
Read More » -
Software Development
Avoid Perpetuating These Things In Your Code
At some point in your career you will find yourself leaving the project you’re on and heading to new challenges…
Read More » -
Enterprise Java
jOOQ vs. Hibernate: When to Choose Which
Hibernate has become a de-facto standard in the Java ecosystem, and after the fact, also an actual JavaEE standard implementation…
Read More » -
Enterprise Java
Creating a MongoDB Capped Collection in Java
In MongoDB, it’s possible to preserve the insertion order of documents into a collection in a circular fashion. These types…
Read More » -
Enterprise Java
Enumerating @NamedQuery within @NamedQueries
Introduction If you’re a Java developer using JPA, chances are that you’ve declared one or more @NamedQuery objects on your…
Read More » -
Software Development
A Non-Blocking Benchmark
A couple of weeks ago I asked the question “Why non-blocking?”. And I didn’t reach a definitive answer, although it…
Read More » -
Core Java
Functional Interfaces
Table Of Contents 1. Introduction 2. Justification 3. Lambda Expressions 4. Predicate<T> 5. BiPredicate<T,U> 6. Function<T,R> 7. BiFunction<T,U,R> 8. Consumer<T>…
Read More » -
Software Development
Testing Interface Invariants
Today’s article is something a little special. It’s the first article where I use code from my current personal project…
Read More »