This is a GraphQL Java implementation based on the specification and the JavaScript reference implementation.
It's an early version, but the query parser should be near 100%.
The execution part is WIP, and validation, error handling and more is still missing.
A complex schema (stolen from the js reference implementation): StarWarsSchema
For how to define a simple schema and execute queries: GraphQL Test
graphql-java is based on the same idea as the reference implementation: It assumes nothing about the persistence technology. Instead hooks/callbacks are provided to fetch the data.
The implementation is in Java 7, but the tests are in Groovy and Spock.
The query parsing is done with ANTLR. The grammar is here.
I would appreciate any feedback via Twitter @andimarek or Pull request/Issue.