A servlet-based HTTP endpoint for GraphQL Java, supporting Relay.js, Apollo, and OSGi out of the box.
GraphQL Java Servlet is a servlet-based HTTP endpoint implementation for GraphQL Java, enabling Java web applications to serve GraphQL APIs over HTTP. It wraps the core GraphQL Java library to handle HTTP requests, execute GraphQL queries and mutations, and provide compatibility with popular GraphQL clients. The project solves the need for a standardized, production-ready HTTP interface for GraphQL in Java servlet environments.
Java developers building web applications with GraphQL APIs, especially those using servlet containers like Tomcat or Jetty and frameworks like Spring MVC. It is also suitable for teams requiring OSGi support or compatibility with specific Jakarta/Javax and Spring Framework versions.
Developers choose GraphQL Java Servlet for its out-of-the-box support for major GraphQL clients (Relay.js, Apollo), seamless integration with GraphQL Java, and flexibility across different Java EE/Jakarta versions and Spring Framework releases. Its multi-flavor packaging ensures compatibility with both modern and legacy Java ecosystems.
Servlet endpoint for GraphQL Java
Provides a standard servlet endpoint that easily integrates GraphQL Java into any Java web application using containers like Tomcat or Jetty, handling HTTP request parsing and response formatting.
Out-of-the-box support for major GraphQL clients like Relay.js and Apollo, reducing the need for custom client-side adaptations and ensuring interoperability.
Offers separate artifacts for Jakarta 6, Jakarta 5, and Javax, as detailed in the README, ensuring compatibility across different Java EE/Jakarta evolutions and Spring Framework versions.
Designed to work in OSGi environments without additional configuration, making it suitable for modular Java applications, as highlighted in the key features.
Does not natively support GraphQL subscriptions over WebSocket, which are essential for real-time applications, requiring additional libraries or workarounds beyond the servlet scope.
The project openly seeks contributors to improve documentation, indicating that current guides might be incomplete or outdated, potentially increasing setup complexity for new users.
Tied to servlet containers, which may not align with modern, cloud-native applications that use reactive or lightweight HTTP servers, limiting deployment flexibility.
GraphQL Java implementation
GraphQL for Java with Spring Boot made easy.
Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
GraphQL and GraphiQL Spring Framework Boot Starters - Forked from oembedler/graphql-spring-boot due to inactivity.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.