Search code examples
jakarta-eeproject-reactor

Is there proposal for introducing reactive programming constructs in Java/JakartaEE?


Currently, Flux and Mono are specified by the Project Reactor. Is there a proposal of bringing reactive programming constructs in Java?


Solution

  • Java 9 has introduced the Flow API, which enables us to adopt Reactive Programming using just the JDK. However, Flow API is just an API, does not implement the Reactive specification.

    Brian Goetz, one of the architects of the Java language, said: "I think Project Loom is going to kill Reactive Programming" (interview link)

    That being said, I think, the need for additional libraries such as Project Reactor or RxJava will be necessary.