Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Spring Ioc And DI
An easy example and few concept about IoC and DI
Balicanta
July 25, 2016
More Decks by Balicanta
See All by Balicanta
Lab317 Python Playground Week 1
balicantayao
0
110
Other Decks in Technology
See All in Technology
PostgreSQL オプティマイザ統計の秘密
nori_shinoda
1
460
Building Audio Plugin Ecosystem for Android in 2026
atsushieno
2
160
Context Ontology Accelerator 入門 (業務データの意味を、AI エージェントに渡す)
inariku
PRO
3
620
サボる子はいねぇがー!AgentCoreハーネスの脆弱性に学ぶ、エージェントの入力バリデーション
iwamot
PRO
5
320
少ない人手 限られた予算 それでも守る 消せない・見つける・戻れる オールハザード型BCP on AWS / 20261107 Mitsutoshi Matsuo
shift_evolve
PRO
0
350
基本から分かる!AWSセキュリティ運用の考え方と任せ方
cmusudakeisuke
1
480
【Oracle AI SPOTLIGHT ウェビナー】【特別開催:日本語で解説!】Oracle AI World 2026 最新情報フィードバック
oracle4engineer
PRO
1
110
セキュリティ専任チームなしで攻撃を先回りするSREが実践したSIEM on Amazon OpenSearch Service
cscengineer
PRO
1
740
仕様と現実の間で落とし所を探るリモートMCPの認証・認可 — Sansanの認証基盤における課題と実践
sansantech
PRO
2
240
JAWSコミュニティに 参加して1年経った結果
ssakita
0
120
re:Invent2026 事前勉強会 歴史と愉しみ方10分LT編
toshi_atsumi
0
180
Kiro IDE 入門 (画面の各部から、頼み方、任せ方、戻し方まで) | 目指せ Kiro マスター 02
inariku
PRO
4
200
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1370
210k
Abbi's Birthday
coloredviolet
4
11k
The Cost Of JavaScript in 2023
addyosmani
56
10k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
610
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Evolving SEO for Evolving Search Engines
ryanjones
0
360
Making the Leap to Tech Lead
cromwellryan
135
10k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
470
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
390
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
510
My Coaching Mixtape
mlcsv
0
380
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