Simple and Modern Concurrency in Java: Completing the Promise
Microservices are all the rage these days. But how do you combine different external service calls together? In this live-coded talk we will review the history and show the future of concurrency in Java and work with three techniques to solve this problem:
* 1995: Threads introduced in Java 1
* 2005: Executor Service introduced in Java 5
* 2014: CompletableFuture introduced in Java 8
For each of these techniques, we will show how you can use them using live-coded examples. The talk will focus on describing patterns available using CompletableFuture, a new class added in Java 8 which lets you compose asynchronous computations in a declarative, and awesome, manner.