Skip to content

Example of Helidon native image generation using ArangoDB Java driver.

Notifications You must be signed in to change notification settings

arangodb-helper/arango-helidon-native-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arango-helidon-native-example

Sample Helidon MP project that includes multiple REST operations.

prerequisites

Start a local database:

SSL=true ./docker/start_db.sh

Build and run

With JDK21

mvn package
java -jar target/arango-helidon-native-example.jar

Exercise the application

Basic:

curl -X GET http://localhost:8080/version
{"license":"COMMUNITY","server":"arango","version":"3.12.0-2"}

Building a Native Image

You can build a native binary using Maven as follows:

mvn -Pnative-image package -DskipTests

You can then execute your native executable with:

./target/arango-helidon-native-example

Building a Native Image with the shaded driver

You can build a native binary using Maven as follows:

mvn -Pnative-image package -DskipTests -Dshaded

About

Example of Helidon native image generation using ArangoDB Java driver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 92.8%
  • Shell 7.2%