Consuming RESTful Java microservices asynchronously using Eclipse MicroProfile Rest Client
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.
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
Be the first to review “Consuming RESTful Java microservices asynchronously using Eclipse MicroProfile Rest Client”
You must be logged in to post a review.


There are no reviews yet.