Upgrading your Java & Spring Boot applications with OpenRewrite in IntelliJ

Sdílet
Vložit
  • čas přidán 14. 03. 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 ❤️
  • Věda a technologie

Komentáře • 20

  • @JamesStansell
    @JamesStansell Před 4 měsíci +5

    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.

  • @billynader0
    @billynader0 Před 4 měsíci

    I really appreciate you sharing all the cool stuff and new technology

  • @pad5724
    @pad5724 Před 4 měsíci +3

    Thank you Dan, you have forgotten today is Friday, you are super productive 😂

    • @DanVega
      @DanVega  Před 4 měsíci +2

      I love what I get to do every day!

  • @surendardashinamurthy2154
    @surendardashinamurthy2154 Před 4 měsíci

    Thanks for sharing this idea

  • @shahbaz_akhter
    @shahbaz_akhter Před 4 měsíci

    Great, loved it ❤

  • @mohammedabraruddin9779
    @mohammedabraruddin9779 Před 4 měsíci +1

    Thank you so much Dan i need do this springboot version upgrade and really easy for me now

  • @shivanis1537
    @shivanis1537 Před 3 měsíci

    Really nice video thanks!

  • @fanjups
    @fanjups Před 4 měsíci +1

    Thanks for sharing 😊

    • @DanVega
      @DanVega  Před 4 měsíci

      My pleasure, thanks for watching!

  • @rabah4306
    @rabah4306 Před 4 měsíci

    Hey Dan, thank you for your videos. I have a question what is your opinion on Mono repos?

  • @HappyTest-rr3jq
    @HappyTest-rr3jq Před 4 měsíci

    hi! can you make a video on fundamentals of annotation processing in java, correlating with spring annotations.

  • @fabienlanier9567
    @fabienlanier9567 Před 4 měsíci +1

    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!

  • @Apopjak
    @Apopjak Před 4 měsíci

    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.

  • @immortal-spirit-13
    @immortal-spirit-13 Před 4 měsíci

    Thanks 😀 Interesting, but I think very difficult

  • @marouaniAymen
    @marouaniAymen Před 4 měsíci

    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 ?

  • @ataturkoglu9686
    @ataturkoglu9686 Před 13 dny

    Thanks Dan. I have spring 4 project and i want to migrate it to spring boot 3. I've always seen spring boot x.x to spring boot x.x. Can openrewrite do this migration(Spring 4 to Spring Boot 3) ?

  • @nishmithav730
    @nishmithav730 Před 3 měsíci

    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.

  • @darogajee3286
    @darogajee3286 Před 4 měsíci

    How much your total dental textures cost... With procedure

  • @TechieGamersSpace
    @TechieGamersSpace Před 4 měsíci +1

    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