This screencast shows you how to build a Java REST API with Spring Boot, secure it with OAuth 2.0, and compile it into a native binary with GraalVM.
Blog post: https://developer.okta.com/blog/2021/...
GitHub repo: https://github.com/oktadev/native-jav...
Demo script: https://github.com/oktadev/native-jav...
Questions: https://devforum.okta.com/t/start-a-j...
Table of Contents:
00:00 - Hello, Java developers
00:51 - Install prerequisites
01:24 - Install a JDK with GraalVM
01:40 - Generate an OAuth 2.0 Access Token
02:39 - Start a Spring Boot Java REST API
04:42 - Run and Test your Spring Boot REST API with HTTPie
05:26 - Build a Native Spring Boot App
05:59 - Startup Time Comparison
06:35 - Memory Usage Comparison
07:27 - Check out `okta start spring-boot`
08:04 - Find the example code on GitHub
08:16 - Thanks for watching!
#Java #RESTAPI #SpringBoot
----
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 https://developer.okta.com/signup/
For more info visit us at https://developer.okta.com/
Developer Blog: https://developer.okta.com/blog/
Follow us on Twitter: / oktadev
Follow us on FB: / oktadevelopers
Follow us on LinkedIn: / oktadev
Soundtrack: Electronic Ambient Loop (https://freesound.org/people/tyops/so...) by tyops. CC Attribution 4.0 License (https://creativecommons.org/licenses/....