~/talk

Writing queryable APIs with MicroProfile GraphQL

Talkat Global Summit for Java Devs 2020 · on Saturday, 2020-08-01· [web-platform, java]
slides:none on file

Shows a Java code-first MicroProfile GraphQL implementation using SmallRye on Quarkus to replace REST over-fetching: a Person type is stitched with a separate Score backend, queries return exactly requested fields (smaller payloads), and mutations handle create/update/delete. Demo includes partial error responses (errors array + partial data), metrics and tracing wired to Prometheus/Grafana/Jaeger, role-based security for fields, a request context exposing selected fields to build optimized SQL, and a GraphQL client mirroring the server model; examples run but hot-reload H2 glitches occur.

AI-written summary · about

  1. 0:00Introduction
  2. 1:18Agenda
  3. 2:05Context
  4. 5:50Rest Endpoint
  5. 12:22GraphQL
  6. 16:50MicroProfile
  7. 18:52Platform Specification
  8. 20:02GraphQL Examples
  9. 24:32Swagger UI
  10. 26:52GraphQL API
  11. 28:12GraphQL UI
  12. 32:27Mixing queries
  13. 34:02Random queries
  14. 35:22JSONB annotations
  15. 36:42Default value
  16. 37:47Save
  17. 38:47Partial Results
  18. 40:47Partial Errors
  19. 41:27Matrix and Tracing
  20. 47:32Mutation
  21. 53:27Client side
  22. 58:42Wrap up
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.