Automate Your Migrations with Spring Boot Migrator and OpenRewrite
Talkat JCON Europe 2023 · on Thursday, 2023-06-22· at 14:00· Cinema 5, Im Mediapark 1, 50670 Köln, Germany·
summary
Spring Boot Migrator (started Q4 2020, OSS since March 2022) runs on OpenRewrite and provides runnable recipes that scan a repo, apply actions, and commit each migration step. Demo converts an EJB stateless bean to Spring by removing @Stateless, adding @Service and importing a bean name from ejb-jar.xml, with in-memory tests using a TestProjectContext and injected Java parser. Recipes appear as Java or yaml recipes and the migrated app boots as Spring Boot.
AI-written summary · about
chapters (12)
- 0:00Introduction to SBM
- 1:34Demo application overview
- 3:23SBM tooling and project setup
- 5:52Conceptual design of SBM
- 7:15Writing a custom SBM action
- 10:20Testing the migration action
- 14:14Integrating OpenRewrite
- 22:55Handling specialized resources
- 30:56Configuring migration recipes
- 37:11Yaml recipe declarations
- 38:45Finalizing the migration
- 40:32Q&A and concluding remarks
related talks
15mMajor migrations made easy
17mMajor migrations made easy
57mSurvival guide to continuously align and upgrade your Spring dependencies
31mPull Off the Splits with OpenRewrite
01h 02mMigrating from Java EE: to Spring Boot or Something Else
34mPull Off the Split: Succeeding with OpenRewrite
55mFrom Spring Boot 2 to Spring Boot 3 with Java 21 and Jakarta EE
49mMagical Beans and Mystery
