Reactive Java? Let us count the ways!

Thank you to everyone that attended our session at Oracle CodeOne on Tuesday!

This repository contains exercises that demonstrate different ways to build reactive applications, from using common building blocks such as Reactive Streams and RxJava to employing holistic frameworks such as Lagom from Lightbend. In this up-to-your-elbows-in-code session, you can experiment with various approaches so you’ll leave with a clear understanding of what reactive programming is and what tools you can use to build reactive applications with Java.

You will need a Java IDE of your choice: Eclipse, IntelliJ, VSCode, emacs or vi if you must, and an installation of maven that can pull dependencies from maven central.

Getting Started

Clone this repo and run mvn package:

$ git clone https://github.com/IBM/reactive-code-workshop.git
$ mvn package

This will download all dependencies, and do some quick verification to ensure you're good to go.

What next

  1. (optional) Open the guided tour. Use spacebar to advance. That tour will overlap with the following steps as well.

  2. Start with rxjava

    $ cd rxjava2
    $ mvn package exec:exec

    Open the readme. Open the suggested references, and try the exercises in order. More help is in the guided tour.

  3. Next, try webflux

    $ cd webflux
    $ mvn package spring-boot:run

    Open the readme, and try the exercises in order. More help is in the guided tour.

  4. Last, try akka

    $ cd akka
    $ mvn package exec:java

    Open the readme, and try the exercises in order. More help is in the guided tour.