Spring Tips: Proxies

Поділитися
Вставка
  • Опубліковано 10 лют 2025
  • Hi, Spring fans! In this installment we look at the use of JDK and CGLIB-based proxies in Spring, and demystify their application
    #Java #SpringBoot #SpringFramework #Architecture #DesignPatterns #oop

КОМЕНТАРІ •

  • @matthewmoore5934
    @matthewmoore5934 5 місяців тому +4

    I love deep dives into how the "magic" really works. So useful. One thing I've never completely understood is how proxies and AspectJ vs Spring AOP all relate to each other. Would love a video on that topic.

  • @hanzofuma
    @hanzofuma 6 місяців тому +1

    OMG. I've been looking for spring content about how proxies are used in spring to deep dive into the framework what a surprise. Thanks a lot and I hope we see more advanced and technical videos about spring internals 😻

  • @JiandongMa-lp7dg
    @JiandongMa-lp7dg 6 місяців тому

    This is a very detailed, advanced content ❤

  • @joachimdietl6737
    @joachimdietl6737 6 місяців тому

    Josh is like a grandpa that knows all the really interesting stories and we are the grandsons listening to his tales

  • @DF-ss5ep
    @DF-ss5ep 6 місяців тому

    Nothing could be easier 😎 (the GraalVM stuff went completely over my head. I'm surprised it can even work with proxies)

  • @kalamatej
    @kalamatej 5 місяців тому

    Cool. It never occurred to me to think about what's behind the @Configuration class 😊

  • @dailycodingjourney
    @dailycodingjourney 6 місяців тому +1

    nice video! i like the hands-on style of videos you do ;) in which cases would you favor the use of proxies over other techniques to expand the functionality of a system (or individual objects)? i mean, one does not need proxies to benefit from polymorphism altogether. it seems to me as a very indirect and complex way to expand an objects functionality, because of the fallback to meta-programming?

  • @victoronwuhafua8464
    @victoronwuhafua8464 6 місяців тому

    My extremely OP boss decided to add proxies to all our internal api’s hence why i am here😂😂

  • @elCoronelCC
    @elCoronelCC 6 місяців тому +12

    the sound effects of the notifications popping in are way too loud (and unnecessary)

    • @Quillraven
      @Quillraven 6 місяців тому +1

      haha yes indeed, I almost got a heart attack from the second one

    • @centfox
      @centfox 6 місяців тому +1

      Exactly

  • @janyoussef4501
    @janyoussef4501 6 місяців тому

    Hello Josh, may I ask why specifically use AtomicBoolean instead normal Boolean when dealing with proxies?

    • @jasonformol3263
      @jasonformol3263 6 місяців тому +2

      The AtomicBoolean is not related to the proxies, it is a requirement from java itself, in a lambda, you cant modify a variable outside the lambda (excepted when the variable is Atomic).

    • @janyoussef4501
      @janyoussef4501 6 місяців тому

      @@jasonformol3263 got it, thanks man.

  • @gibers1
    @gibers1 6 місяців тому

    Why nobody writes these tips in a book, in which the topic could be more in detail explained ?

  • @supertejasshah
    @supertejasshah 6 місяців тому

    still same amount of code. Idk why to use u