Overview
Discover how to build a native Java command-line application using Micronaut, GraalVM, and Picocli in this comprehensive tutorial video. Learn to create a Stack Overflow search CLI tool by setting up a Micronaut project, implementing search functionality with Micronaut's HTTP client, formatting output with ANSI colors, and compiling a native executable using GraalVM. Gain insights into using Java 11 HttpClient and overcome common issues in CLI app development. Follow along with step-by-step instructions, from project setup to final compilation, and enhance your Java development skills for creating efficient command-line applications.
Syllabus
| Intro
| Creating new Micronaut project using the Launch website
| Creating new Micronaut project using Micronaut CLI app
| Importing and configuring the project in IntelliJ IDEA
| Implementing "stackoverflow-cli search" command
| Calling REST API using Micronaut's declarative HTTP client
| Formatting the output using ANSI colors and
| Compiling native executable file using GraalVM native-image
| BONUS: Using Java 11 HttpClient
| Conclusion
Taught by
Szymon Stepniak