This screencast shows you how to build a Java REST API with Micronaut, secure it with OAuth 2.0, and compile it into a native executable with GraalVM.
Blog post:
GitHub repo:
Demo script:
Table of Contents:
00:00 - Hello, Java developers
00:57 - Install prerequisites
01:20 - Install a JDK with GraalVM
01:34 - Generate an OAuth 2.0 Access Token
02:41 - Start a Micronaut Java REST API
03:48 - Run and Test your Micronaut REST API with HTTPie
04:22 - Package a Native Micronaut App
05:07 - Startup Time Comparison
05:42 - Memory Usage Comparison
06:42 - Check out `okta start micronaut`
07:01 - Find the example code on GitHub
07:11 - Thanks for watching!
#Java #REST #Micronaut
----
Okta is a developer API service that stores user accounts for your web apps, mobile apps, and APIs.
* Sign up for Okta for free at
* For more info visit us at
* Developer Blog:
* Follow us on Twitter:
* Follow us on FB:
* Follow us on LinkedIn: