The Eclipse MicroProfile REST Client API

The last MicroProfile extension we will discuss in this chapter is the REST client extension. The goal of this API is to provide you with a type safe way to invoke REST services in a microservice architecture.

Don't confuse the MicroProfile REST client API with the JAX-RS Client API! They implement different standards: the JAX-RS Client API is implemented according to JSR 370 ( https://www.jcp.org/en/jsr/detail?id=370), while the MicroProfile REST Client API follows the standard specified here: http://microprofile.io/project/eclipse/microprofile-rest-client.

In order to learn about the REST client API, we will be using it as a template for the Chapter06/rest-client application. This project is nothing ...

Get Hands-On Cloud-Native Applications with Java and Quarkus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.