onoriel / techday-native

Techday Spring Boot Native Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Techday Spring Boot Native Application

Spring Boot application with Native capabilities using Spring Native, oracle jdbc dependencies and spring-openapi.

Packaging artifact

mvn clean package

Running JVM artifact

Running with Maven Spring Boot plugin

mvn spring-boot:run

Running with Java

java -jar ./target/workshop-native-0.0.1-SNAPSHOT.jar

Building Docker Image

mvn -Pnative spring-boot:build-image -Dspring-boot.build-image.imageName=onoriel/workshop-native:latest

Running Docker Image

docker run --rm -p 7080:7080 onoriel/workshop-native --spring.datasource.plain-url=<<ORACLE_DB_IP>>:<<ORACLE_DB_PORT>>/xe

Building GraalVM Native Version

mvn -Pnative native:compile

Running GraalVM Native Version

./target/workshop-native

About

Techday Spring Boot Native Application


Languages

Language:Java 100.0%