Summary
In this chapter, we've learned how to create and consume basic and complex RESTful services using industry-standard APIs such as JAX-RS, CDI, JSON-P, JSON-B, and the MicroProfile Rest Client. We've learned that some of these APIs provide very concise and type-safe approaches, while others provide additional flexibility at the cost of increased code complexity. Having completed this chapter, we can now create fully functioning micro-services utilizing REST and JSON. We can also improve the efficiency of these services by using asynchronous clients and appropriate life-cycle scopes.
In the next chapter, we will explore how we can improve the configurability and robustness of these services with other MicroProfile APIs.