Consuming RESTful services using the reactive JAX-RS client

0
Language

Learn how to use a reactive JAX-RS client to asynchronously invoke RESTful microservices over HTTP. Discover the benefits of the RxJava reactive extensions and explore the pluggable reactive JAX-RS client provider offered by Eclipse Jersey. Enhance your client-side applications by efficiently consuming web services using the JAX-RS API. This guide showcases the use of asynchronous method calls and compares the default CompletionStage-based provider with Jersey’s RxJava provider. Choose between Jersey and Apache CXF for third-party reactive libraries and experience the power of reactive programming in Open Liberty.

Add your review

At a Glance

Learn how to use a reactive JAX-RS client to asynchronously invoke RESTful microservices over HTTP.

First, you’ll learn how to create a reactive JAX-RS client application by using the default reactive JAX-RS client APIs. You will then learn how to take advantage of the RxJava reactive extensions with a pluggable reactive JAX-RS client provider that’s published by Eclipse Jersey. The JAX-RS client is an API used to communicate with RESTful web services. The API makes it easy to consume a web service by using the HTTP protocol, which means that you can efficiently implement client-side applications. The reactive client extension to JAX-RS is an API that enables you to use the reactive programming model when using the JAX-RS client.

The application in this guide demonstrates how the JAX-RS client accesses remote RESTful services by using asynchronous method calls. You’ll first look at the supplied client application that uses the JAX-RS default CompletionStage-based provider. Then, you’ll modify the client application to use Jersey’s RxJava provider, which is an alternative JAX-RS reactive provider. Both Jersey and Apache CXF provide third-party reactive libraries for RxJava and were tested for use in Open Liberty.

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 services using the reactive JAX-RS client”

×

    Your Email (required)

    Report this page
    Consuming RESTful services using the reactive JAX-RS client
    Consuming RESTful services using the reactive JAX-RS 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.