Video description
Reactive and asynchronous applications are growing in popularity, but what is the best way to build them? This course helps you apply the latest concurrency techniques to develop state of the art Java applications necessary for the microservices/service oriented architecture (SOA) model. It builds upon the theory described in the associated "Asynchronous Programming in Java" course, by refactoring several projects using Java 8’s CompletableFutures class. It explains the concept behind CompletableFutures, examines the problems they solve for Java developers, and shows through examples how to use the API productively in practice. The course is designed for software architects and intermediate- to advanced-level Java developers.
- Understand how to program event-driven reactive code using Java 8 and CompletableFutures
- Gain experience implementing reactive code in a readable and maintainable way
- Learn to build reliable and performant Java apps for the microservices/SOA model
Raoul-Gabriel Urma is CEO of Cambridge Spark, a learning community for data scientists and developers in the UK. Co-author of Java 8 in Action (Manning Publications), Raoul has delivered over 100 technical talks at international conferences. He's worked for Google, eBay, Oracle, and Goldman Sachs, and holds a PhD in Computer Science from the University of Cambridge.
Richard Warburton is a software engineer, teacher, and Java Champion. He’s worked as a developer in such diverse areas as low latency trading systems, statistical analytics, static analysis, compilers, and network protocols. Author of Java 8 Lambdas (O'Reilly Media), Richard holds a PhD in Computer Science from The University of Warwick.
Table of contents
- The Problem When Querying Services
- Using the Threads API
- Limitation with the Threads API
- Introduction to ExecutorService
- Using an ExecutorService
- Refactoring to ExecutorService
- Limitations of Future and other APIs
- CompletableFuture Basics
- Refactoring to CompletableFuture
- CompletableFuture Usage Patterns
- CompletableFuture Usage Exercise
- CompletableFuture Execution Model
- Dealing with Exceptions
- Faulty Service Exercise
- Sequence Patterns
- Wrap Up Exercise
- Summary
Product information
- Title: Programming Promises in Java 8 Using Completable Futures
- Author(s):
- Release date: September 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491990193
You might also like
video
Parallel Functional Programming with Java LiveLessons
16+ Hours of Video Instruction Parallel Functional Programming in Java LiveLessons describes by example how to …
video
Reactive Programming in Java Using RxJava 3.x: ReactiveX
In this course, you'll learn about Reactive programming and libraries such as RxJava and Reactor that …
book
Java 8 Lambdas
If you’re a developer with core Java SE skills, this hands-on book takes you through the …
video
Streams API in Java
Why and where you need Streams API in Java.