Adam Bien's Weblog

Java EE 7 + CompletableFuture = Clean + Easy [Screencast]

Java EE 7 together with Java 8 and CompletableFuture allows easy pipelining of asynchronous JAX-RS 2.0 resource, CDI Event and a POJO using threads from ManagedExecutorService:

See also other screencasts at: or subscribe to

See you at Java EE Workshops at MUC Airport or on demand and in a location very near you:!

NEW workshop: Building HTML 5 Applications Without Frameworks, Full week in December 2016: from Java EE 7 Bootstrap, Effective, Architectures over Testing to Microservices
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.


A book about rethinking Java EE Patterns



you are the boss

how you install and configure landafish

Posted by luis on May 08, 2014 at 06:14 PM CEST #

Great post , thanks

Posted by طراحی سایت on May 09, 2014 at 04:21 PM CEST #

If your trying this at home, be aware that (currently) it doesn't work. I spent quite some time trying to recreate it only to find that due to the following 2 defects the Consumer event is never delivered.
Credit for discovering the reason why this doesn't work goes to Siliarus on Stack Overflow.

Posted by MikeE on August 18, 2016 at 04:17 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments