2021-07-27
java completablefuture

CompletableFuture and Java 8 Reactive

I have been using recently Java 8 new features CompletableFuture. This is a little feedback.

CompletableFuture : how to use them ?

It works the same way as javascript promises but with a crazy hard to remember and plethora of methods.

I found this great webpage from Baeldung to guide me through the API :

http://www.baeldung.com/java-completablefuture

The result is this new version of the Module :

https://github.com/sleroy/spring-cqrs-arch

Fore more informations about that module, check there :

How to implement CQRS with Spring : new framework

Parallelism issues with Java software : useful links to troubleshoot

An example of is here.

Next to read  How does Embold v2 radically improve the code analysis of your IT projects?

Sylvain Leroy

Senior Software Quality Manager and Solution Architect in Switzerland, I have previously created my own company, Tocea, in Software Quality Assurance. Now I am offering my knowledge and services in a small IT Consulting company : Byoskill and a website www.byoskill.com Currently living in Lausanne (CH)

View all posts by Sylvain Leroy →