Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Micronaut, GraalVM and Picocli - Building Native Java Command-Line Apps - Tutorial

Szymon Stepniak via YouTube

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

Reviews

Start your review of Micronaut, GraalVM and Picocli - Building Native Java Command-Line Apps - Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.