GithubHelp home page GithubHelp logo

kazuki43zoo / spring-projects-experimental_spring-native Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spring-attic/spring-native

0.0 2.0 0.0 10.6 MB

Spring Native provides beta support for compiling Spring applications to native executables using GraalVM native-image compiler.

Home Page: https://spring.io/blog/2021/12/09/new-aot-engine-brings-spring-native-to-the-next-level

License: Apache License 2.0

Shell 0.90% Java 98.85% HTML 0.13% Groovy 0.01% Dockerfile 0.11%

spring-projects-experimental_spring-native's Introduction

Build Status Reference documentation

Spring Native provides beta support for compiling Spring applications to native executables using GraalVM native-image compiler, in order to provide a native deployment option typically designed to be packaged in lightweight containers. In practice, the target is to support your Spring Boot application , almost unmodified, on this new platform.

Watch the video and read the blog post of Spring Native Beta announcement to learn more. Announcing Spring Native Beta!

Quick start

The easiest way to start with Spring Native is probably to go to start.spring.io, add the Spring Native dependency, and read the reference documentation. Make sure to configure properly the Spring AOT Maven and Gradle plugins that are mandatory to get proper native support for your Spring application.

Play with the samples

Note
You need to install the GraalVM native-image compiler, check the documentation for more details.
  • Download the latest release of this repository.

  • Go into the samples folder and pick one (e.g. cd samples/commandlinerunner)

  • Run ./build.sh which will run the regular JVM build, then a native image compilation, then test the result.

For more details on the samples see the samples documentation.

Contributing

If you have not previously done so, please sign the Contributor License Agreement. You will be reminded automatically when you submit the pull request.

Contributions are welcome, especially for adding support via pull requests for libraries widely used in the Spring ecosystem not yet support. Please refer to the how to contribute section for more details.

This project requires Java 11.

spring-projects-experimental_spring-native's People

Contributors

sdeleuze avatar aclement avatar snicoll avatar bclozel avatar christophstrobl avatar dsyer avatar sbrannen avatar eleftherias avatar fhanik avatar olgamaciaszek avatar schauder avatar ttddyy avatar garyrussell avatar spring-builds avatar mminella avatar michael-simons avatar artembilan avatar leccelecce avatar olegz avatar spencergibb avatar joshlong avatar jkroepke avatar grekier avatar olivierboudet avatar marcingrzejszczak avatar arielcarrera avatar saki-osive avatar cutiechi avatar mikrethor avatar making avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.