1. GraalVM Native Image allows ahead-of-time compilation of Java code to a standalone native executable.
2. The Spring Native Image project adds support for Spring applications by providing handlers that address reflection, proxies, initialization, and resources during native image generation.
3. A demonstration shows building a Spring Boot application into a native image, including the use of Spring Feature to integrate the Spring framework with Native Image.
The document contains code snippets and configuration examples related to Spring Security OAuth 2.0 client integration for authenticating with external OAuth providers like Facebook and XXX. It includes dependency and configuration properties for OAuth client registration and authorization code grant flow. Code snippets show interfaces for CRUD repositories and examples of tailing MongoDB queries with reactive repositories.
14. • 引用元
• Current and Future State of Java
• https://www.youtube.com/watch?v=onZJ8beVEtI
• Spring Framework 5.1 on JDK 8 & 11
• https://www.youtube.com/watch?v=h6PUjxe-blw
• How Fast is Spring?
• https://content.pivotal.io/springone-platform-2018-core-
framework/how-fast-is-spring
Spring Frameworkの改善と今後
14
23. 23
フレームワーク内のリフレクション使用の最適化
出典:How Fast is Spring?
Spring 5.1(Boot 2.1)にするだけで
起動時間が短縮される
Spring 5.1(Boot 2.1)にするだけで
最大ヒープサイズが少なくても起動できる
関数型Bean定義で
すべて明示的に定義すると
さらに高速起動&省メモリ