Skip to content

Graal feature for building native images of Spring applications

License

Notifications You must be signed in to change notification settings

dikshaSahni/spring-graal-feature

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-feature

This is a Graal feature than enables Spring applications to be compiled using the Graal native-image command. Once compiled they will have instant startup!

This feature supports:

  • Graal 19.2.0
  • Spring Boot 2.2.0.M5
  • Spring Framework 5.2.0.RC1

To try it out, install Graal 19.2 from: https://github.com/oracle/graal/releases

Then build the root feature project with:

mvn clean package

Now go into the samples subfolder. Each folder in there is using a piece of Spring technology. Within each is a mini project and a compile.sh script - the script will call the native-image command passing the feature on the classpath, the executable produced in each case should start instantly.

About

Graal feature for building native images of Spring applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.8%
  • Shell 0.2%