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
スケールアップ企業でQA組織が機能し続けるための組織設計と仕組み〜ボトムアップとトップダウンを両輪としたアプローチ〜
tarappo
3
270
イベントで大活躍する電子ペーパー名札を作る(その2) 〜 M5PaperとM5PaperS3 〜 / IoTLT @ JLCPCB オープンハードカンファレンス
you
PRO
0
130
TypeScript 7.0の現在地と備え方
uhyo
7
1.9k
ABEMAのバグバウンティの取り組み
kurochan
1
140
AI時代の「本当の」ハイブリッドクラウド — エージェントが実現した、あの頃の夢
ebibibi
0
150
【社内勉強会】新年度からコーディングエージェントを使いこなす - 構造と制約で引き出すClaude Codeの実践知
nwiizo
4
3.1k
コンテキスト・ハーネスエンジニアリングの現在
hirosatogamo
PRO
6
630
OpenClaw を Amazon Lightsail で動かす理由
uechishingo
0
240
2026年もソフトウェアサプライチェーンのリスクに立ち向かうために / Product Security Square #3
flatt_security
1
710
楽しく学ぼう!ネットワーク入門
shotashiratori
1
490
Google系サービスで文字起こしから勝手にカレンダーを埋めるエージェントを作った話
risatube
0
200
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Faster Mobile Websites
deanohume
310
31k
The agentic SEO stack - context over prompts
schlessera
0
700
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
400
Making the Leap to Tech Lead
cromwellryan
135
9.8k
WCS-LA-2024
lcolladotor
0
480
It's Worth the Effort
3n
188
29k
HDC tutorial
michielstock
1
560
Facilitating Awesome Meetings
lara
57
6.8k
Amusing Abliteration
ianozsvald
0
140
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
310
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