O'Reilly logo
live online training icon Live Online training

Getting Started with Quarkus

Master the new Kubernetes Native Java stack

Topic: Software Development
Sébastien Blanc

Is your Java app consuming the server’s whole memory and taking minutes to boot? And then, even more time to redeploy? Get rid of your 25-year-old Java jokes and learn Quarkus, the supersonic, subatomic Java.

Learn how Java apps can have small memory footprints, boot in milliseconds, and help you have instantaneous save/refresh coding sessions. The world has changed, and Java changed with Quarkus, too.

What you'll learn-and how you can apply it

  • The basics of Quarkus and its benefits
  • Building Cloud Native applications
  • How to deploy Quarkus applications on Kubernetes
  • Securing your Quarkus application

This training course is for you because...

  • You are a junior or senior Java developer who would like to explore the Cloud Native space

Prerequisites

  • A basic understanding of Java
  • Experience with any of the existing IDEs (VS Code, Intellij or Eclipse)

Course Set-up

  • A JDK 8 or 11
  • The Maven command line (3.6.2+)

Recommended Preparation

Recommended Follow-up

About your instructor

  • Sébastien Blanc, Red Hat's Director of Developer Experience, is a Passion-Driven-Developer with one primary goal : share his passion by giving talks that are pragmatic, fun and focused on live coding.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

Segment 1: Introduction to Quarkus and the Cloud Native world (30 minutes)

  • Why Quarkus?
  • The shift from the monolith to microservices
  • What is Quarkus?
  • Quarkus setup
  • Quick Demo

Segment 2: A simple Quarkus app (40 minutes)

  • Building an app from scratch
  • Quarkus live reload feature
  • Adding REST endpoints
  • Adding configuration
  • Adding the persistence layer with Panache
  • Demo

Break (5 min)

Segment 3 : Adding Cloud Native features to your Quarkus App (40 minutes)

  • Adding health probes : liveness and readiness
  • Adding Fault Tolerances
  • Adding Metrics
  • Demo

Segment 4: Deploying your Quarkus App to the Cloud (20 minutes)

  • Quick intro to Kubernetes
  • Easily generate your Kubernetes Resources
  • Easily generate your Docker images
  • Deploying your app to Kubernetes

Break (5 min)

Segment 5: Securing your Quarkus App (25 minutes)

  • Identity Management with OpenID Connect and JWT
  • Authorization
  • Propogating your identity across your different Quarkus Microservices
  • Demo

Segment 6: Course wrap-up and next steps (15 minutes)

  • Briefly review the topics covered
  • Share resources for learning more about Quarkus
  • Q&A