Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Spring Ioc And DI
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Balicanta
July 25, 2016
Technology
1
96
Spring Ioc And DI
An easy example and few concept about IoC and DI
Balicanta
July 25, 2016
Tweet
Share
More Decks by Balicanta
See All by Balicanta
Lab317 Python Playground Week 1
balicantayao
0
84
Other Decks in Technology
See All in Technology
Windows ファイル共有(SMB)を再確認する
murachiakira
PRO
0
210
今のWordPress の制作手法ってなにがあんねん?(改) / What’s the Deal with WordPress Development These Days?
tbshiki
0
520
モジュラモノリス導入から4年間の総括:アーキテクチャと組織の相互作用について / Architecture and Organizational Interaction
nazonohito51
3
990
楽しく学ぼう!ネットワーク入門
shotashiratori
1
490
生成AI活用でQAエンジニアにどのような仕事が生まれるか/Support Required of QA Engineers for Generative AI
goyoki
1
330
Phase02_AI座学_応用
overflowinc
0
230
大規模ECサイトのあるバッチのパフォーマンスを改善するために僕たちのチームがしてきたこと
panda_program
1
300
めちゃくちゃ開発するQAエンジニアになって感じたメリットとこれからの課題感
ryuhei0000yamamoto
0
200
(Test) ai-meetup slide creation
oikon48
3
470
Everything Claude Code を眺める
oikon48
13
8.7k
詳解 強化学習 / In-depth Guide to Reinforcement Learning
prinlab
0
340
Phase01_AI座学_基礎
overflowinc
0
350
Featured
See All Featured
Un-Boring Meetings
codingconduct
0
230
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
150
GraphQLとの向き合い方2022年版
quramy
50
14k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.2k
From π to Pie charts
rasagy
0
150
What does AI have to do with Human Rights?
axbom
PRO
1
2k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Transcript
Spring IoC And DI 2016/07/25 Redick
Outline • IoC Concept • Dependence Injection • Spring Example
IoC Concept • Non IoC Concept • Example : NonIocConceptExample
IoC Concept • Invert - From ? to ? •
Library and Framework Difference • Implement method : • Template Method • Dependance Injection * http://martinfowler.com/bliki/InversionOfControl.html
Dependence Injection • Movie Finder Naive Example • Type of
Dependence Injection • Type 1 IoC (interface injection) • Type 2 IoC (setter injection) • Type 3 IoC (constructor injection)
Dependence Injection • Service Locator • Knows how to get
hold of all of the services that an application might need. • Service Locator Example
Spring Example • ApplicationContext • ClassPathXmlApplicationContext • AnnotationConfigApplicationContext
Material • Github Example Project • https://github.com/BalicantaYao/spring-study