It’s easy to write non-blocking, asynchronous multi-layered web applications using Spring 4.2+ and Java 8’s CompletableFuture. This blog post shows you how.
Continue reading “Non-blocking Web Apps with Spring Boot & CompletableFuture”Asynchronous Query Methods with Spring Data & CompletableFuture
CompletableFuture, introduced in Java 8, provides an easy way to write asynchronous, non-blocking, multithreaded code. Since Spring 4.2 it’s now possible to write asynchronous code by returning CompletableFuture
from non-private methods annotated with @Async
.