9

Im new to graphql found 2 java implementation using from official graphql: https://www.graphql-java.com/documentation/v10/

and

https://github.com/graphql-java-kickstart/graphql-java-tools

Like whats their difference in implementing graphql in java?

1 Answer 1

8

In Short:

graphql-java:

  • Is an implementation of graphQL in java based on the Javascript reference implementation here. This project use to host a suit of graphql related tools for the java ecosystem including graphql-java-tools. See at the end of this answer for more

graphql-java-tools:

  • Is a Java GraphQL helper library that aids development of GraphQL schema language for your graphql-java API. One example is auto-configuration of classes for creating a GraphQLSchema. See more from official documentation here. Similarly another useful library I will recommend is spring-graphql-common

See this example Spring Boot Project that puts it all together:

  • GraphQL - Java Implementation
  • GraphiQL - Workbench Gui with auto-complete assists based on your schema
  • Graphql java tools - Library
  • Spring Graphql Common - Library

Furthermore graphql-Java is currently only focussed on Java not the tooling projects. These have been moved to their dedicated organisations.

More from the original maintainer's blog

Sign up to request clarification or add additional context in comments.

2 Comments

what do you call "Spring Graphql Common"? I can't see any such thing in the repo you pointed at...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.