Building GraphQL APIs with Java
summary
Live demo shows a Beer Advisor backend with queries, mutations and real-time subscriptions via WebSockets that update two browser windows when a rating is posted. Implementation details: core is graphql-java with DataFetcher functions, higher-level options include graphql-java-tools, Spring GraphQL (beta Jul 2021) and Netflix DGS (Feb 2021), and MicroProfile GraphQL offers code‑first annotations. Schema is SDL by default, subscriptions require a Reactive Streams Publisher, and example code plus a GraphiQL IDE are published in the GitHub repo.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:27GraphQL Basics
- 4:42Beer Advisor Demonstration
- 10:23Query Language Details
- 14:29Performance and Structure
- 18:43GraphQL Server Runtime
- 24:24Data Fetchers in Java
- 33:33Java Framework Options
- 43:26Q&A and Conclusion
related talks
55mGraphQL - APIs the New Way
50mGraphQL-ify your APIs
42mDeveloping and maintaining a Java GraphQL back-end
47mMoving beyond REST: GraphQL and Java & Spring
01h 02mBootiful Spring GraphQL
01h 04mBuilding real-time API's with GraphQL
18mCrafting compelling real-time web experiences with GraphQL
52mWelcome, Spring for GraphQL
