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 😻
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?
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).