JavaEE - Contexts and Dependency Injection (CDI)

  Рет қаралды 10,291

Asymmetrik

Asymmetrik

Күн бұрын

Пікірлер: 6
@ruixue6955
@ruixue6955 3 жыл бұрын
10:16 *Events* 10:54 CDI enables you to create an observer pattern without actually implementing the classic oo observer pattern 11:02 you are able to inject an *event handler* that's tied to a type and then able to produce those events 11:13 *caution: event handling is not asynchronous* 11:56 code demo 12:38 web socket code demo 15:47 demo 15:57 16:05 post 17:23 question: is it a kinda long polling? 17:25 answer: no, because of the *web socket* 17:36 web socket gives u full duplex communication 18:05 what does *web socket* do: 19:29 magic glue - 19:51 the JEE "magic glue" is *CDI* 20:54 *interceptors* 22:42 Qualifiers 23:57 How does it work 27:20 conclusion
@ruixue6955
@ruixue6955 3 жыл бұрын
0:53 intro 1:46 What's Broke App 2:23 It's also going to send events to *web socket* 2:32 dependency injection 3:32 how does dependency injection work in CDI 3:34 @Inject - 3:37 type-safe 3:48 counterpart in *Spring* - @Autowire can be swapped out with @Inject 4:17 Scopes 4:55 @ApplicationScoped - like classic *singleton* 5:13 @Dependent 6:18 6:35 DAO - @ApplicationScoped 7:49 code walkthrough 8:57 DAO implementation 9:02 @Default
@christianweaves4187
@christianweaves4187 7 жыл бұрын
Great presentation and a nice simple demo to go with it, can I get my hands on the project src? Thanks
@brunosantos2345
@brunosantos2345 9 жыл бұрын
Justin, can you send the sampleador code? Grate tutorial!
@timwit333
@timwit333 7 жыл бұрын
Is it possible that you send me the code? I would love to have a closer look at it. Thanks.
@Malone-vq2ft
@Malone-vq2ft 8 жыл бұрын
Can you send the code for that project? :)
Learn Dependency Injection and Write Better Code
21:52
Amigoscode
Рет қаралды 178 М.
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
Dependency Injection & Inversion of Control
11:00
Ryan Schachte
Рет қаралды 201 М.
Making the most of Java SE with CDI 2.0 by John Ament
24:56
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 905 М.
25 & 26 - CDI for Java EE: Advanced Topics
27:54
Viprav Programming
Рет қаралды 3,2 М.