Skip to content
SPECIFICTION
Get listed

GraphQL Java vs GraphQL Kotlin

GraphQL Java

graphql-java.com

GraphQL Kotlin

opensource.expediagroup.com

Side by side

FigureGraphQL JavaGraphQL Kotlin
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
APIYesYes
Self-hostedYesYes
Plans published11
Spec score · GraphQL Tools7.5 (#18)8.0 (#8)
IntegrationsThe homepage lists Spring GraphQL, Netflix DGS, and Atlassian alongside GraphQL Java.Reference client implementations use Ktor HTTP Client and Spring WebClient, and custom implementations can use other engines.
PurposeGraphQL Java is a Java implementation of GraphQL for building GraphQL services on the JVM.GraphQL Kotlin is a collection of libraries built on graphql-java to run GraphQL clients and servers in Kotlin.
SupportThe project directs users to GitHub Discussions for questions and says it is run by volunteer maintainers.The maintainers invite questions through GitHub Discussions and the public #graphql-kotlin channel on Kotlin Slack.

Plans

GraphQL Java

  • GraphQL JavaFree

GraphQL Java pricing →

GraphQL Kotlin

  • Open sourceFree

GraphQL Kotlin pricing →

In their own words

GraphQL Java

GraphQL Java has no write-up on Specifiction yet; its figures are above.

Visit graphql-java.com

GraphQL Kotlin

GraphQL Kotlin is a free Apache License 2.0 collection of libraries, built on graphql-java, for running GraphQL clients and servers in Kotlin. Its schema generator creates schemas from Kotlin code, and a federation module can produce Apollo Federation-compliant schemas. Gradle and Maven plugins generate type-safe Kotlin clients from existing schemas. Generated clients support queries, mutations, batching, coroutines, custom scalars, configurable enum defaults, and Jackson or kotlinx.serialization models. Reference HTTP integrations use Ktor HTTP Client and Spring WebClient, while custom engines are possible. Server implementations target Spring Boot and Ktor; the Spring server uses Spring WebFlux. Ktor supports Kotlin Flow subscriptions over WebSockets with the graphql-transport-ws subprotocol. Its plugin leaves route configuration to the application, allowing selective routes and added authentication logic. The schema generator supports Kotlin Lists, but Sets, arbitrary Maps, and arrays are not supported out of the box. The project is self-hosted, with security guidance in its repository and community support through GitHub Discussions and Kotlin Slack.

Visit opensource.expediagroup.com