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
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 tracks||Talks by session types||List of Speakers||Schedule|