https://github.com/jonashackt/springone-2021-highlights
Notes about my personal highlights of SpringOne 2021
https://github.com/jonashackt/springone-2021-highlights
Last synced: 4 months ago
JSON representation
Notes about my personal highlights of SpringOne 2021
- Host: GitHub
- URL: https://github.com/jonashackt/springone-2021-highlights
- Owner: jonashackt
- Created: 2021-11-12T12:23:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-15T07:47:47.000Z (over 4 years ago)
- Last Synced: 2025-02-13T14:24:07.379Z (over 1 year ago)
- Size: 7.4 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Roadmap: roadmap-native-image-repository.png
Awesome Lists containing this project
README
# springone-2021-highlights
Notes about my personal highlights of SpringOne 2021
## General observations
Find all video-recordings at https://springone.io/2021/schedule (you need to create an account, but most are also on Youtube)
---
## Spring Boot & GraalVM Current Status
__*"Spring Native"*__ by https://twitter.com/sdeleuze
https://github.com/spring-projects-experimental/spring-native
#### What is Spring Native?


#### JVM & native comparison / tradeoffs

JVM: more runtime optimizations!
native: memory & startup time!




#### Spring Native Beta (March 2021):

https://spring.io/blog/2021/03/11/announcing-spring-native-beta
> While it is still considered as experimental, beta means that Spring now provides support for native on a subset of the Spring ecosystem. You can try it on your projects if they are using the supported dependencies and raise bugs or contribute pull requests if something goes wrong. A new release of Spring Native will happen for each patch release of the latest Spring Boot 2.x minor version. Spring Native 0.9.0 supports Spring Boot 2.4.3, Spring Native 0.9.1 will support Spring Boot 2.4.4, etc. Breaking changes will happen but we will document migration paths.
or 2.5.x: https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/index.html#_validate_spring_boot_version
> Spring Native 0.10.5 only supports Spring Boot 2.5.6, so change the version if necessary.
#### @NativeHint
> Some native configuration can not be inferred, for those cases we are introducing native hint annotations (see the Javadoc for more details) which allows Spring Native to support native configuration in a more maintainable, typesafe and flexible way than regular JSON based native image configuration.

### Features spring-native 0.11 | GraalVM 21.3 | Spring Boot 2.6.x:


UPX compression again reduces image size dramatically:

#### Enhanced Spring AOT

https://spring.io/blog/2021/03/11/announcing-spring-native-beta

#### Native testing with JUnit
JUnit testing native: test the native image support with JUnit 5

No Mockito support right now.
### Roadmap



### Docs
https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/index.html#overview
### Samples!
https://github.com/spring-projects-experimental/spring-native/tree/main/samples
__--> More details: https://github.com/jonashackt/springone-2020-highlights#spring-boot--graalvm__
https://github.com/jonashackt/spring-boot-graalvm
https://blog.codecentric.de/en/2020/05/spring-boot-graalvm/
---
