Access Coherence using GraphQL by Tim Middleton


Helidon version 2.2.0 has just been released which contains support for the MicroProfile GraphQL Specification from the Eclipse Foundation. Coherence provides seamless integration with Helidon, and with the latest Coherence CE 20.12 release it is now very easy to create GraphQL endpoints to access data in Coherence.

About GraphQL

From the MicroProfile (MP) GraphQL spec page:

GraphQL is an open-source data query and manipulation language for APIs, and a runtime for fulfilling queries with existing data. GraphQL interprets strings from the client, and returns data in an understandable, predictable, pre-defined manner. GraphQL is an alternative, though not necessarily a replacement for REST.

GraphQL provides three types of data operations: query, mutation and subscription. The schema is the core of GraphQL and clearly defines the operations supported by the API, including input arguments and possible responses.

Note: The first release of the spec only supports queries and mutations.

If you would like to learn more about GraphQL in general, and GraphQL support in Helidon, please check out my Helidon MicroProfile GraphQL article before you continue.

Adding a GraphQL Endpoint to the To Do List example

In this article I will build upon the To Do list example described by Aleks Seovic in his Hello, Coherence article series. Read the complete article here.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.