Upgrading your Java & Spring Boot applications with OpenRewrite in IntelliJ
HTML-код
- Опубликовано: 14 мар 2024
- In this tutorial we will take a look at a project called OpenRewrite that allows you to automate your upgrades. We are going to look at the newly bundled plugin in IntelliJ for running your recipes right in your IDE. We will look at both a simple Java example and then how to upgrade a Spring Boot 2.7.x app to 3.0.
🔗Resources & Links mentioned in this video:
GitHub Repository: github.com/danvega/rewrite
👋🏻Connect with me:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/danvega
LinkedIn: / danvega
Newsletter: www.danvega.dev/newsletter
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️ - Наука
Thanks, Dan! I had not heard about the IDEA plugin. Two quick thoughts:
1. For a complex application I would suggest to migrate to Java 17 on 2.7.18 first, then to 3.0 and so on.
2. One of the recipes will add the new property to enable virtual threads. You may need to already use Java 21 to trigger it.
Thank you Dan, you have forgotten today is Friday, you are super productive 😂
I love what I get to do every day!
I really appreciate you sharing all the cool stuff and new technology
Thanks for sharing this idea
Really nice video thanks!
Thank you so much Dan i need do this springboot version upgrade and really easy for me now
Great, loved it ❤
Thanks for sharing 😊
My pleasure, thanks for watching!
I've covered the basics like REST client, security, tests, I'm eager to know what additional skills and knowledge I should acquire to become proficient in Spring Boot and adequately prepared for a junior-level role. Could you make a video where you would outline the essential Spring Boot topics and concepts I should master to be job ready? I believe many people here are in a similar situation, trying to learn Spring Boot but unsure of what else they should master within the Spring framework.
Hey Dan, thank you for your videos. I have a question what is your opinion on Mono repos?
Hi Dan, Could you please make a video to remove the unused maven dependency from pom.xml in spring boot application . It will be helpful. Thank you.
hi! can you make a video on fundamentals of annotation processing in java, correlating with spring annotations.
I remember that you did video before about a similar tool, or is it ? I think that under the hood this tool relies on JavaParser, right ?
Hi Dan, thanks for the video.
I'm currently migrating an application from Spring Boot 2.7 to 3.0 and I am struggling with Hibernate 6 which, as a full JPA provider, does not support nested transactions anymore and this is a requirement for us as we are using save points. Is there a way to replace the save points with a similar mechanism using Hibernate 6 as a JPA provider ?
Thanks and keep up with the great work!
Thanks 😀 Interesting, but I think very difficult
How much your total dental textures cost... With procedure
i am getting 'void org.openrewrite.gradle.UpdateJavaCompatibility.(java.lang.Integer, org.openrewrite.gradle.UpdateJavaCompatibility$CompatibilityType, org.openrewrite.gradle.UpdateJavaCompatibility$DeclarationStyle, java.lang.Boolean, java.lang.Boolean)' can you please help