Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Spring Ioc And DI
Search
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
81
Other Decks in Technology
See All in Technology
ログ管理の新たな可能性?CloudWatchの新機能をご紹介
ikumi_ono
1
700
「Managed Instances」と「durable functions」で広がるAWS Lambdaのユースケース
lamaglama39
0
310
Edge AI Performance on Zephyr Pico vs. Pico 2
iotengineer22
0
150
Power of Kiro : あなたの㌔はパワステ搭載ですか?
r3_yamauchi
PRO
0
120
Microsoft Agent 365 についてゆっくりじっくり理解する!
skmkzyk
0
300
[デモです] NotebookLM で作ったスライドの例
kongmingstrap
0
140
エンジニアとPMのドメイン知識の溝をなくす、 AIネイティブな開発プロセス
applism118
4
1.3k
第4回 「メタデータ通り」 リアル開催
datayokocho
0
130
今からでも間に合う!速習Devin入門とその活用方法
ismk
1
700
Oracle Cloud Infrastructure IaaS 新機能アップデート 2025/09 - 2025/11
oracle4engineer
PRO
0
120
Database イノベーショントークを振り返る/reinvent-2025-database-innovation-talk-recap
emiki
0
150
非CUDAの悲哀 〜Claude Code と挑んだ image to 3D “Hunyuan3D”を EVO-X2(Ryzen AI Max+395)で動作させるチャレンジ〜
hawkymisc
2
180
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
390
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Building Adaptive Systems
keathley
44
2.9k
For a Future-Friendly Web
brad_frost
180
10k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Why Our Code Smells
bkeepers
PRO
340
57k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
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