Part 4: GraphQL¶
The GraphQL examples separate the API server from its clients. The server module exposes queries, mutations, computed fields, and a subscription. The client module demonstrates typesafe, dynamic, and JAX-RS client APIs.
Recipes¶
- Build a GraphQL API
- Typesafe GraphQL client
- Dynamic GraphQL client
- Java HTTP Client for GraphQL
- JAX-RS Client for GraphQL
The client examples target http://localhost:8080/graphql by default. Start
the server before the client application. Its main class exercises all client
styles.
What's next¶
- See REST clients for HTTP client APIs.
- See Messaging for broker-based communication.