Spring Tips: Proxies

Поделиться
HTML-код
  • Опубликовано: 4 сен 2024
  • 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

Комментарии • 19

  • @matthewmoore5934
    @matthewmoore5934 20 дней назад +1

    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 Месяц назад +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 😻

  • @kalamatej
    @kalamatej 15 дней назад

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

  • @elCoronelCC
    @elCoronelCC Месяц назад +10

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

    • @Quillraven
      @Quillraven Месяц назад

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

    • @centfox
      @centfox Месяц назад

      Exactly

  • @joachimdietl6737
    @joachimdietl6737 Месяц назад

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

  • @JiandongMa-lp7dg
    @JiandongMa-lp7dg Месяц назад

    This is a very detailed, advanced content ❤

  • @DF-ss5ep
    @DF-ss5ep Месяц назад

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

  • @dailycodingjourney
    @dailycodingjourney Месяц назад

    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 Месяц назад

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

  • @janyoussef4501
    @janyoussef4501 Месяц назад

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

    • @jasonformol3263
      @jasonformol3263 Месяц назад +1

      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 Месяц назад

      @@jasonformol3263 got it, thanks man.

  • @gibers1
    @gibers1 Месяц назад

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

  • @supertejasshah
    @supertejasshah Месяц назад

    still same amount of code. Idk why to use u