Spring Native

Prerequisites

sudo yum install gcc glibc-devel zlib-devel
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk version

Install GraalVM

sdk install java 21.0.0.2.r8-grl
java -version
gu install native-image

Sample Project Setup

git clone https://github.com/kenu/gs-rest-service
cd gs-rest-service/complete
./mvnw -Pnative-image package

run

target/com.example.restservice.restserviceapplication

ref

What Else?
inflearn react api server -50% 할인쿠폰: 15108-f2af1e086101 buy me a coffee