Why Use Reactive Stream Based HTTP Client

Reading this guide here on Spring Rest Template, I learn that Rest template has been deprecated in favour of WebClient

Digging deeper into WebClient I see it is build around the reactive programming idea and makes use of Project Reactor which I understand to be Springs implementation of the reactive stream specification…

My question now is, what will the advantage be of using something like this to make HTTP requests. I can understand if I am building an HTTP server, but when it is just a client who might be calling an HTTP server that does not use reactive features, is there any advantage at all?

submitted by /u/finlaydotweber
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/357XmS0

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close