Spring Tips: Proxies

  Рет қаралды 12,907

SpringDeveloper

SpringDeveloper

Күн бұрын

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 Ай бұрын
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 2 ай бұрын
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 2 ай бұрын
This is a very detailed, advanced content ❤
@kalamatej
@kalamatej Ай бұрын
Cool. It never occurred to me to think about what's behind the @Configuration class 😊
@kennethcarvalho3684
@kennethcarvalho3684 Ай бұрын
Is this actually the implementation?
@DF-ss5ep
@DF-ss5ep 2 ай бұрын
Nothing could be easier 😎 (the GraalVM stuff went completely over my head. I'm surprised it can even work with proxies)
@joachimdietl6737
@joachimdietl6737 2 ай бұрын
Josh is like a grandpa that knows all the really interesting stories and we are the grandsons listening to his tales
@dailycodingjourney
@dailycodingjourney 2 ай бұрын
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 2 ай бұрын
My extremely OP boss decided to add proxies to all our internal api’s hence why i am here😂😂
@elCoronelCC
@elCoronelCC 2 ай бұрын
the sound effects of the notifications popping in are way too loud (and unnecessary)
@Quillraven
@Quillraven 2 ай бұрын
haha yes indeed, I almost got a heart attack from the second one
@centfox
@centfox 2 ай бұрын
Exactly
@janyoussef4501
@janyoussef4501 2 ай бұрын
Hello Josh, may I ask why specifically use AtomicBoolean instead normal Boolean when dealing with proxies?
@jasonformol3263
@jasonformol3263 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 2 ай бұрын
@@jasonformol3263 got it, thanks man.
@gibers1
@gibers1 2 ай бұрын
Why nobody writes these tips in a book, in which the topic could be more in detail explained ?
@supertejasshah
@supertejasshah 2 ай бұрын
still same amount of code. Idk why to use u
Spring Tips: Spring Modulith
37:39
SpringDeveloper
Рет қаралды 26 М.
Spring Office Hours: S3E25 - Zero to Spring Boot
1:08:27
SpringDeveloper
Рет қаралды 3,5 М.
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,7 МЛН
Spring Tips: Useful Annotation Processors
25:51
SpringDeveloper
Рет қаралды 10 М.
Spring Tips: Spring Data JDBC
27:36
SpringDeveloper
Рет қаралды 21 М.
Spring Tips: Data Oriented Programming in Java 21+
18:50
SpringDeveloper
Рет қаралды 12 М.
Spring Tips: HTMX
21:09
SpringDeveloper
Рет қаралды 13 М.
Protect Your Microservices with Spring Cloud Gateway
28:10
SpringDeveloper
Рет қаралды 27 М.
Spring Tips: DataSources
57:40
SpringDeveloper
Рет қаралды 14 М.
Spring Tips: Virtual Threads
50:31
SpringDeveloper
Рет қаралды 14 М.
Spring Tips: Spring's Application Event Subsystem
20:23
SpringDeveloper
Рет қаралды 15 М.