What's new in Spring Boot 2.6

Поділитися
Вставка
  • Опубліковано 30 січ 2025

КОМЕНТАРІ • 91

  • @ziemowitstolarczyk4878
    @ziemowitstolarczyk4878 2 роки тому

    IMHO "What's new in Spring Boot" with examples is very helpful! Good job!

  • @benjamine.ndugga729
    @benjamine.ndugga729 2 роки тому +2

    Love the new test framework

  • @VirtuelleWeltenMitKhan
    @VirtuelleWeltenMitKhan 2 роки тому +2

    Great to see some love for records.
    The WebTestClient is my highlight here :D
    Pretty cool stuff. Thanks for all your work

  • @hansmelo32
    @hansmelo32 2 роки тому +6

    Good stuff! Thanks for the great examples.

  • @VitaliyKulikovUA
    @VitaliyKulikovUA 2 роки тому

    just awesome! waiting for 2.7 )

  • @marcusadrian7646
    @marcusadrian7646 2 роки тому +2

    Thank you ! Very clear explanation of the new features.

  • @AleksandarT10
    @AleksandarT10 2 роки тому +2

    Great video, looking forward to have more videos like this!

  • @bijeesraj007
    @bijeesraj007 2 роки тому +4

    Thank you Great video !
    What’s the IDE plugin that showing suggestions? . Looks like a very helpful plugin .

  • @michelchaghoury870
    @michelchaghoury870 2 роки тому +5

    Great video can you please make some videos helping us in testing(Unit, Mock and Integration) and also some good practices on implementing Jwt with Spring security and a DB, and very happy having Dan vega, he is a great instructor, know him from his own youtube channel, by the way h also have gr8 content there

    • @SpringSourceDev
      @SpringSourceDev  2 роки тому +1

      Thanks for the kind words and support Michel.

  • @MaheshKurade
    @MaheshKurade 2 роки тому +2

    Great video with good explanations. I am curious about which plugin you are using for the Autocompletion/ suggestion of code.

  • @pavankjadda
    @pavankjadda 2 роки тому

    Great video. Never knew we could use records for properties. Will use them from now on and remove Lombok config.

  • @AccioSandy
    @AccioSandy 2 роки тому +1

    Great video as always. Would be interested to know the reason for the changes made. At a high level. May be

  • @sophia_1984
    @sophia_1984 2 роки тому

    Thanks for Great Video that I can learn about new features!!! Easy to understand So Nice!!!!

  • @princ363
    @princ363 2 роки тому +1

    Thanks for the nice examples... 👍

  • @digisecureagent7679
    @digisecureagent7679 2 роки тому

    I liked this release features

  • @arunbhati101
    @arunbhati101 2 роки тому +1

    Good examples.

  • @alanmangroo3656
    @alanmangroo3656 2 роки тому

    Thank you. This is a great video.

  • @AlienAndrew51
    @AlienAndrew51 2 роки тому

    One thing I really want from spring is to auto-update the way angular does. Should be able to run a command spring update --fromVersion=2.4.5 --toVersion=2.5.9. As a developer that has to manage 20+ microservices would save so much time since it's not always straightforward like this.

  • @jordanweir7187
    @jordanweir7187 2 роки тому

    Very informative, thanks so much

  • @realdutzen
    @realdutzen 2 роки тому +4

    Where can i find the video about constructor vs field injection?

    • @dalu_
      @dalu_ 2 роки тому

      Indeed where. No feedback from the creator. If they don't want comments they should just disable them.

    • @SpringSourceDev
      @SpringSourceDev  2 роки тому

      I added the link to that video in the description.

    • @SpringSourceDev
      @SpringSourceDev  2 роки тому +1

      I would never disable comment... feedback is the best part of UA-cam

    • @realdutzen
      @realdutzen 2 роки тому

      @@SpringSourceDev Thank you very much :)

  • @rajivkumar-ub6uj
    @rajivkumar-ub6uj 2 роки тому

    Good job as always

  • @arkszy
    @arkszy 2 роки тому +3

    Does someone knows what is responsible for grey code suggestions? Is it some intellij setting or plugin?

  • @NijdamsMoffel
    @NijdamsMoffel 2 роки тому +9

    Watched it at 1,5x speed. Thanks a lot!

  • @prabhjotsingh9597
    @prabhjotsingh9597 2 роки тому

    Great video
    Looking for something similar for 2.7 as well

  • @miletacekovic
    @miletacekovic 2 роки тому +6

    What about reentrant calls that should follow AOP pointcuts, like @Transactional?
    Self-injection is very handy to enable reentrant calls to honor @Transactional, @Cacheable, @Retryable..., and disabling circular dependencies also disable self-injection, which is too bad.

    • @ChrisB_Crisps
      @ChrisB_Crisps 2 роки тому

      There are a several excuses for circular dependencies, it seems to me that none of those excuses are good😌🥄☮

    • @miletacekovic
      @miletacekovic 2 роки тому

      @@ChrisB_Crisps ​ @ruben nav OK, but how would you solve reentrant calls that need to go through AOP aspect (like @Transactional, @Cacheable, @Retryable...)? Would you use less readable aletrnative or artificially divide your service class into two classes using purely technical reasons (no business reason) just because reentrant calls in Spring do not take into account AOP aspects by default? This seems to me no good reason to do either just because of technical limitations...
      For me, reeentrant calls are valid in service classes as a type of functional reuse, not all reuse should be object-oriented.
      And if we have reentrant calls, then we sometimes need AOP aspects applied to them as well.
      Do you maybe think this is better and/or more readable:
      @Service @Cacheable
      public class MyService() {
      ...
      ...
      ((MyService) AopContext.currentProxy()).myMethod1();
      ...
      ((MyService) AopContext.currentProxy()).myMethod2();
      ...
      ((MyService) AopContext.currentProxy()).myMethod3();
      Than this:
      @Service @Cacheable
      public class MyService() {
      ...
      @Autowired
      private MyService self;
      ...
      ...
      self.myMethod1();
      ...
      self.myMethod2();
      ...
      self.myMethod3();
      I do not think so.

  • @erastvandoren
    @erastvandoren 2 роки тому +1

    51:50 better take Instant and convert to the local date on the client or in the view.

  • @RaymondNathan
    @RaymondNathan 2 роки тому

    Thanks for the video, would using @Lazy approach for the circular references be a recommended way to fix these issues? Although I am worried that it may lead to runtime error...

  • @AHTOIIIKA
    @AHTOIIIKA 2 роки тому

    Thank you 😊

  • @hamzaouni3009
    @hamzaouni3009 2 роки тому

    Very nice video

  • @javisartdesign
    @javisartdesign 2 роки тому +1

    thanks for share it

  • @mohammedabraruddin9779
    @mohammedabraruddin9779 2 роки тому +1

    video link to check your video on why constructor injection over other pls?

  • @rinjusherpa2184
    @rinjusherpa2184 2 роки тому

    It it possible to have these videos as audio version in Spotify? I always look spring podcast on Spotify.

  • @tripathinitesh
    @tripathinitesh 2 роки тому

    very informative

  • @shahablaghaee195
    @shahablaghaee195 2 роки тому +2

    Good Job

  • @12uio3ehqsakjlc
    @12uio3ehqsakjlc 2 роки тому +1

    26:31 What is the plugin that shows you an expected code snippet?

  • @metaocloudstudio2221
    @metaocloudstudio2221 2 роки тому

    Isn't it a time for Spring foundation to move from maven to gradle?

  • @zoladkow
    @zoladkow 2 роки тому +1

    Oy, what about 2.5? There was a dedicated What's New vid for 2.3 and 2.4. 😁

    • @SpringSourceDev
      @SpringSourceDev  2 роки тому

      I will go back and take a look at it and see what I can do.

  • @R红茶
    @R红茶 2 роки тому

    Good video

  • @alxx736
    @alxx736 2 роки тому

    I dont understand the Circular Issue . Why do we need to use @Lazy ? The are sometimes where this behavior is needed. Why you dont support Circular reference as always ?

  • @RN-jo8zt
    @RN-jo8zt 2 роки тому

    it's really awesome video.
    just asking do u have any pdf file for it ?so it should be great

    • @SpringSourceDev
      @SpringSourceDev  2 роки тому

      No, sorry. What would you like to see in the form of a PDF?

    • @RN-jo8zt
      @RN-jo8zt 2 роки тому

      @@SpringSourceDev just summary(example ,description, why, what), it will really helpful those who preparing for interview also for quick lookup

    • @ChrisB_Crisps
      @ChrisB_Crisps 2 роки тому +1

      @@RN-jo8zt PDF? well there is a web version you could take the pdf from there, this is the video version, would be stange to make the PDF version from the video version from the web version? or you want to print it to learn the basics?

  • @51aw0m1r
    @51aw0m1r 2 роки тому

    In Records and Configuration properties it seemed like it’s complaining about non existing bean of type String as it’s trying to do constructor injection not exactly that it doesn’t know about constructor

    • @SpringSourceDev
      @SpringSourceDev  2 роки тому

      It was expecting the 1st argument to the constructor to be of type String but nothing was getting passed to the constructor when we are using setters to the set the values. The @ConstructorBinding flips that and says don't use setters, use the constructor

  • @dalu_
    @dalu_ 2 роки тому

    So.. how do you do a many-to-many relationship with record, not class?

    • @SpringSourceDev
      @SpringSourceDev  2 роки тому

      You can't use records with JPA because that requires a public no arg constructor... Records are immutable and contain an all args constructor. You can use Spring Data JDBC with records though.

  • @MohamedDernoun
    @MohamedDernoun 2 роки тому +2

    Great explanation, I confirm that google gives you a wrong translation 😅

  • @BenDol90
    @BenDol90 2 роки тому

    What is wrong with circular dependencies in a service?

  • @michelchaghoury870
    @michelchaghoury870 2 роки тому

    when adding the webflux dependency in the pom.xml it always throws errors can someone help me?

    • @SpringSourceDev
      @SpringSourceDev  2 роки тому

      What version of Spring Boot are you using? What dependency are you including?

    • @michelchaghoury870
      @michelchaghoury870 2 роки тому

      @@SpringSourceDev i am using 2.6.4, i added the same dependency of webflux that Dan added but immidiatly intellj throws errors that it is an invalid dep and even if i try to run a test with WebTestClient it throws errors. Thank you for your help

  • @AbdullaUnais
    @AbdullaUnais 2 роки тому +3

    Thanks a lot. Worthy watch.
    I have a Q. What is the plug-in that keeps auto-completing your code?

    • @luismpcunha
      @luismpcunha 2 роки тому +5

      It's Github's copilot, but its access is invite only atm, alternatively you can use Tabnine.

    • @AbdullaUnais
      @AbdullaUnais 2 роки тому +1

      @@luismpcunha thanks... I'll check it out.

  • @mitro8282
    @mitro8282 2 роки тому

    thnx..

  • @kensaitakeso
    @kensaitakeso 2 роки тому

    Co-pilot is cool! Isn’t it?;)

  • @ourevents3714
    @ourevents3714 2 роки тому

    why not make a full ecommerce site like multiple vendor

  • @dalu_
    @dalu_ 2 роки тому

    I'd like to use Spring Boot but it's so inaccessible like everything in the Java/Kotlin world.
    Java is like a "special people only club".
    Go on the other hand is just straightforward and stuff is almost self-explanatory.
    For Java and Spring Boot there are only outdated examples and paid courses.
    You're good with explaining things, do you have your own youtube channel or something like that?

    • @SpringSourceDev
      @SpringSourceDev  2 роки тому +1

      I'm curious to know why you feel like Java is a special people only club? I feel like the Java & Spring communities are both very welcoming. Let me know if there is anything I can do to help you out.

  • @ekadet
    @ekadet 2 роки тому

    Co-pilot is wasted on the presenter...

  • @sukumaar357
    @sukumaar357 2 роки тому

    I have learned one thing in my professional life, stay away from spring framework as much as you can. You will regret in production if choose Spring framework.

    • @henryvaneyk3769
      @henryvaneyk3769 2 роки тому

      If you are not interested in using Spring then stop trolling videos about Spring.

  • @shomermamillailah86
    @shomermamillailah86 2 роки тому

    Hello Spring Developer.
    I have updated my spring boot version to the 2.6.4 version, and I do receive this error:
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Unsatisfied dependency expressed through method 'setFilterChainProxySecurityConfigurer' parameter 1; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is java.lang.NoSuchMethodError: 'java.lang.reflect.Method org.springframework.util.ClassUtils.getInterfaceMethodIfPossible(java.lang.reflect.Method, java.lang.Class)'
    The particular matter is that I DO NOT receive until 2.6.3.....
    Anyone else delt with this problem?
    I tried several solutions to solve the problems, but without success.

  • @ogunodabas9332
    @ogunodabas9332 2 роки тому

    Hello spring team.
    I have an idea to contribute to the project. Can you contact me?