~/talk

How to migrate the legacy project to Spring Boot

Talkat Spring I/O 2026 · 2026-04-13..04-15· [software-architecture]
links:none on file
slides:none on file

Stepwise migration updates a large WAR to Spring Boot 4/4.1 using the Spring Boot Dependencies import and Cargo Maven plugin for automated Tomcat E2E runs, converting servlets to REST controllers and DB code to JPA + Spring Data while keeping Flyway; AI-assisted refactors produce an Uber war with lib provided Tomcat and reveal two small fixes (JVM version suggestion and a missing Flyway starter). Static singletons move to an ApplicationContext holder, commits and E2E tests stay green — migration completes incrementally; repo: https://github.com/seregamorph/petclinic-legacy, slides: https://miro.com/app/board/uXjVG7ZzHdE=/?share_link_id=493041505550

AI-written summary · about

  1. 0:00Migrating legacy projects
  2. 1:10Why Spring Boot
  3. 3:15Legacy migration challenges
  4. 5:22AI for automated migration
  5. 7:08Migration planning steps
  6. 8:32Spring Boot version
  7. 9:16Spring Boot dependencies
  8. 11:27Running E2E tests after changes
  9. 12:49Spring Boot entry point
  10. 15:18Spring Boot in Tomcat
  11. 16:44Spring context accessors
  12. 18:51First Spring bean
  13. 20:15Migrating dependent beans
  14. 21:59Cyclic dependencies handling
  15. 23:02Servlet to annotations
  16. 24:30Uber WAR file
  17. 26:15Standalone run
  18. 28:01Finalizing migration
  19. 29:03Key takeaways
~/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.