~/talk

Mind the Gap: Jumping from Spring Boot 2.x to 3.x

name:Phil Webb
links:none on file
slides:none on file

Upgrade path starts by moving the JVM to Java 17 requirement then bumping Spring Boot to 3.x; expect manual fixes for javax→Jakarta package renames and changing Spring Data repository interfaces (iterables to list-returning types). Replace WebSecurityConfigurerAdapter with a SecurityFilterChain bean, run the Spring Boot Properties Migrator to update deprecated config, and note trailing-slash routing changed. Add Micrometer Observations + Brave/Zipkin for traces, emit RFC7807 problem+json errors, and build a native image via Spring AOT + GraalVM (native image with GraalVM). Most demos compile and run after these concrete edits.

AI-written summary · about

  1. 0:00Introduction and audience check
  2. 1:07Why upgrade to Spring Boot 3
  3. 19:36Upgrading to Java 17 first
  4. 21:41Spring Boot 3 version upgrade
  5. 22:22Jakarta EE package migration
  6. 24:12Spring Data repository changes
  7. 26:21Simplifying info logger code
  8. 27:02Spring Security configuration update
  9. 28:48Handling deprecated annotations
  10. 30:16Java 17 features in Spring Boot 3
  11. 34:37Spring Boot properties migrator
  12. 37:51Removing properties migrator
  13. 38:12Verifying the upgraded app
  14. 40:00Actuator and JMX changes
  15. 41:47Actuator password sanitization
  16. 44:59Observability with Micrometer
  17. 47:05Viewing traces in Zipkin
  18. 48:09Custom observability in code
  19. 50:05Problem details for error responses
  20. 51:18Trailing slash handling
  21. 52:06Problem details in exception handler
  22. 53:59Spring Boot 3.1 upgrade
  23. 54:40Native image support overview
  24. 57:08Generating native image code
  25. 59:41Native image startup demo
  26. 1:00:34Spring Framework 6 API client demo
  27. 1:03:24Resources and closing
~/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.