Tag: asynchronous

  • How to create a reactive REST service using Spring WebFlux?

    Reactive programming is gaining more popularity now than ever before. Traditionally when you invoke a REST service it becomes a blocking call. You need to wait until you get the response and then proceed with your next line of code. With reactive programming , you can make an asynchronous call and then retrieve the response…

  • Future vs Completable Future in Java

    The best way to run asynchronous threads in Java had been to use the Executor Service framework until Java 8. Executor Service returns a Future object which can be used to retrieve the result of an asynchronous thread. But it comes with few drawbacks. Among the many features introduced in Java 8 , one of…