
OpenRewrite เป็นอีกหนึ่งแนวทางในการ migrate project หลัก ๆ คือ JVM language
รวมทั้ง framework ต่าง ๆ และ build tool พวก Apache maven และ Gradle
โดยหนึ่งใน framework ที่สนับสนุนคือ Spring framework และ Spring Boot
สามารถนำมาใช้สำหรับการ migrate มายัง Spring Boot 3.2 ได้
ที่มีความสามารถดังนี้
- เปิดใช้งาน Virtual thread ให้
- สนับสนุน RestClient และ JdbcClient
- Update security patch
- ปรับปรุงความสามารถ observability
- สนับสนุน Coordinated Restore at Checkpoint (CRaC)
การใช้งานสำหรับ Apache Maven project เป็นดังนี้
ทำการ run
ลองใช้งานกันดูครับ
เป็นอีกแนวทางในการ migrate
Reference Websites