~/talk

Native builds with Spring Boot 3

slides:none on file

Spring Boot 3 compiles Spring apps to native executables using GraalVM and Spring’s AoT toolchain and the demo builds a REST + Spring Data app that runs natively after adding a resource-config.json so bundled files load. Native build takes about 2.5 minutes on a modern laptop, requires GraalVM to compile, and produces much smaller binaries (example executable ~82 MB vs shipping a 283 MB JDK image) while runtime memory drops (example ~102 MB); profiling (PGO) closes long-run throughput gaps.

AI-written summary · about

  1. 0:00Introduction to Spring Native
  2. 2:06AOT vs JIT compilation
  3. 3:51Native frameworks in Java
  4. 4:57Spring Native in Spring Boot 3
  5. 6:21Handling resources in AOT
  6. 7:26Reflection and proxies setup
  7. 9:13Library support for GraalVM
  8. 12:21Live demo setup
  9. 13:07Building native executable
  10. 17:27Fixing resource inclusion
  11. 20:44Executable size comparison
  12. 23:13Running native executable
  13. 24:01Spring Data REST demo
  14. 27:41Database support in native
  15. 28:49Native build success
  16. 30:16Configuration hints for GraalVM
  17. 32:05Testing and development workflow
  18. 33:52Performance over time
  19. 37:13Profile-guided optimization
  20. 41:29Takeaways and downsides
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.