Talk

Implementing the API Gateway pattern with GraphQL

Hands-on Lab
Architecture

The API Gateway pattern is a well-known solution to the problem of clients communicating with a microservices-based application. It relieves browsers or mobile devices from sending several requests to display a single web page or screen. In practice, the pattern is often implemented as an HTTP/JSON service. Therefore it is difficult for the web, mobile and backend developers to settle on a payload format that is both flexible and concise to suit all the different kinds of frontends. GraphQL is a query and schema definition language for your backend services. It can be used over different transports (e. g. HTTP, Websocket) and provides frontend developers with the ability to request exactly the information they need, making it a great solution to implement the API Gateway pattern.

This workshop starts with a brief introduction to GraphQL. Then you will build a gateway for a music store microservices-based application.

You will learn how to fetch data from HTTP services or a Postgres database and protect users with authentication. We will focus on the use case instead of the GraphQL technology itself (there are plenty of resources for that on the web). Software requirements: - JDK8 or JDK11 - Recent version of Maven - Recent version of Postgres database (or Docker) - Java IDE

Scheduled on Tuesday from 13:30 to 16:30 in BOF 1

Microservices Architectures
GraphQL
API Gateway

Vladimir Dejanovic

PVH

Founder and leader of AmsterdamJUG, JavaOne Rockstar Speaker, CodeOne Star Speaker IT Consultant, Software Architect, Team Lead,Chapter Lead working in industry since 2006 developing high performance software in multiple programming languages and technologies from desktop to mobile and web with high load traffic. Enjoining developing software mostly in Java and JavaScript, however also wrote fair share of code in Scala, C++, C, PHP, Go, Objective-C, Python, R, Lisp and many others. Always interested in cool new stuff, Free and Open Source software. Like giving talks at conferences like JavaOne, Oracle Code One Devoxx BE, Devoxx US, Devoxx PL, Devoxx MA, Devoxx FR, JavaLand, GeeCON, Java Day Istanbul, Voxxed Days Belgrade, JDK.IO, JBCNConf Java Day Minks, DevConf and others

Thomas Segismont

Red Hat

Thomas has been programming professionally for 15 years, working on various projects in finance, tourism, banking and hosting. He is passionate about Java and its open source ecosystem. He joined Red Hat in 2012, initially contributing to the JBoss middleware monitoring tools. He his now a Vert.x core team member, with a strong interest in clustering, monitoring and reactive programming. He lives in Marseille, where he helps with organizing the local Java User Group.

Talks by tracksTalks by session typesList of SpeakersSchedule