Chapter 11: MicroProfile GraphQL
GraphQL is a distributed query language that addresses some of the shortcomings of REpresentational State Transfer (REST). In particular, GraphQL addresses the notions of over-fetching (receiving more data than the client intended) and under-fetching (requiring the client to make multiple requests to get the data it requires). GraphQL applications make use of a schema file that presents clients with the queries and mutations at its disposal, as well as the entities it can access and manipulate.
The ease of use and robustness of GraphQL explains why its popularity is growing, especially in cloud-native applications. MicroProfile GraphQL (MP GraphQL) makes it easy to create GraphQL-based applications.
In this ...
Get Practical Cloud-Native Java Development with MicroProfile 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.