Java Concurrency and Reactive Programming using Project Reactor

Java 8 Concurrency and Reactive Programming using Project Reactor is a two-day, fast-paced coding course geared for experienced developers who have prior working knowledge of Java. Throughout the course students learn the best practices for writing non-blocking applications in Java 8 using both the Java Concurrency Framework and the Reactor API. The course provides an in-depth view of the enhancements made to the Java Concurrency API in Java 8, allowing for the development of non-blocking asynchronous processes.

Retail Price: $1,795.00

Next Date: Request Date

Course Days: 2


Request a Date

Request Custom Course


Course Objectives

This “skills-centric” course is about 50% hands-on lab and 50% lecture, designed to train attendees in next-level Java development skills, coupling the most current, effective techniques with the soundest industry practices. Working within in a hands-on learning environment, guided by our expert team, attendees will explore:

  • Explore Parallel programming in Java including coverage of multithreading and concurrency
  • The asynchronous, non-blocking concurrency API introduced in Java 8
  • Reactive Programming in Java using Project Reactor
  • Understand event publishers and Subscribers
  • Apply operators to Reactive events
  • Understand the concept of Backpressure
  • Properly handle exceptions in the reactive process

 

Course Prerequisites

This is an intermediate level Java SE (JSE) developer course, designed for experienced Java 8 developers. Attendees should have current hands-on experience in developing basic Java 8 applications.  This course is NOT for new developers or non-developers.


Course Agenda

 

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most.

Session: Multithreading and Concurrency

Lesson: Introduction to Multithreading and Concurrency

  • Principles of Multithreading
  • The Thread class and Runnable interface
  • Explore thread synchronization
  • Introduce the Java Concurrency API

Lesson: Concurrent Java

  • Thread management using Executors
  • The common thread-pool
  • Submitting and controlling asynchronous tasks
  • Explore the locking API
  • Lab: Working with Concurrent Java

Lesson: Non-blocking asynchronous tasks

  • The CompletableFuture
  • Define non-blocking processes
  • Lab: CompletableFuture

Session: Project Reactor

Lesson: Introduction to Project Reactor

  • Introduce the Reactor Building blocks
  • Flux and Mono
  • Creating observables
  • Subscribing to a stream

Lesson: Reactive Operators

  • Introduce Operators
  • Show the use of RxMarbles (marble diagrams)
  • Explain some commonly used operators
  • Callback operators

Lesson: Schedulers (Multithreading)

  • Thread usage of subscriber and consumer
  • Using the subscribeOn method
  • Introduce the Scheduler interface
  • Using the observeOn method

Lesson: Backpressure

  • Strategies for dealing with Backpressure
  • “reactive pull” backpressure
  • ConnectableFlux
  • Throttling

Lesson: Exception Handling

  • Handling errors in onError
  • Exception handling strategies
  • Using onErrorReturn or onErrorNext operators
  • Using the retry operators
  • The Global Error Handler


Sorry! It looks like we haven’t updated our dates for the class you selected yet. There’s a quick way to find out. Contact us at 502.265.3057 or email info@training4it.com


Request a Date