Consuming RESTful Java microservices asynchronously using Eclipse MicroProfile Rest Client

0
Language

Learn how to use MicroProfile Rest Client to invoke RESTful microservices asynchronously over HTTP. Build a MicroProfile Rest Client to access remote RESTful services using asynchronous method calls. Improve your asynchronous programming skills and increase efficiency.

Add your review

At a Glance

Learn how to use MicroProfile Rest Client to invoke RESTful microservices asynchronously over HTTP.

You will learn how to build a MicroProfile Rest Client to access remote RESTful services using asynchronous method calls. You’ll update the template interface for a MicroProfile Rest Client to use the CompletionStage return type. The template interface maps to the remote service that you want to call. A CompletionStage interface allows you to work with the result of your remote service call asynchronously.

Imagine asynchronous programming as a restaurant. After you’re seated, a waiter takes your order. Then, you must wait a few minutes for your food to be prepared. While your food is being prepared, your waiter may take more orders or serve other tables. After your food is ready, your waiter brings out the food to your table. However, in a synchronous model, the waiter must wait for your food to be prepared before serving any other customers. This method blocks other customers from placing orders or receiving their food.

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Consuming RESTful Java microservices asynchronously using Eclipse MicroProfile Rest Client”

×

    Your Email (required)

    Report this page
    Consuming RESTful Java microservices asynchronously using Eclipse MicroProfile Rest Client
    Consuming RESTful Java microservices asynchronously using Eclipse MicroProfile Rest Client
    LiveTalent.org
    Logo
    LiveTalent.org
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.