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
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.
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 😻
Cool. It never occurred to me to think about what's behind the @Configuration class 😊
Is this actually the implementation?
the sound effects of the notifications popping in are way too loud (and unnecessary)
haha yes indeed, I almost got a heart attack from the second one
Exactly
Josh is like a grandpa that knows all the really interesting stories and we are the grandsons listening to his tales
This is a very detailed, advanced content ❤
Nothing could be easier 😎 (the GraalVM stuff went completely over my head. I'm surprised it can even work with proxies)
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?
My extremely OP boss decided to add proxies to all our internal api’s hence why i am here😂😂
Hello Josh, may I ask why specifically use AtomicBoolean instead normal Boolean when dealing with proxies?
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).
@@jasonformol3263 got it, thanks man.
Why nobody writes these tips in a book, in which the topic could be more in detail explained ?
still same amount of code. Idk why to use u