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
Balicanta
July 25, 2016
Technology
1
85
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
63
Other Decks in Technology
See All in Technology
Microsoft Cloudで開発ライフサイクルを保護する
kkamegawa
0
140
Janus
bkuhlmann
1
490
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
3
780
0→1開発における技術選定において一番大切なこと
bicstone
1
320
普段有償でサポート業務をしているCSAが技術知見を無料で公開する理由
07jp27
1
630
[2024年3月版] Databricksのシステムアーキテクチャ
databricksjapan
8
1.9k
ここが嬉しいABAC ここが辛いよABAC #再解説+補足編
masahirokawahara
0
220
現代CSSフレームワークの内部実装とその仕組み
poteboy
0
170
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
14
35k
Postman v10リリース後を振り返る
nagix
0
130
株式会社EventHub・エンジニア採用資料
eventhub
0
1.9k
転移学習とドメイン適応の基礎
kmatsui
2
570
Featured
See All Featured
Designing for humans not robots
tammielis
247
25k
Automating Front-end Workflow
addyosmani
1355
200k
Designing with Data
zakiwarfel
95
4.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
The Brand Is Dead. Long Live the Brand.
mthomps
48
28k
Ruby is Unlike a Banana
tanoku
96
10k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
Bootstrapping a Software Product
garrettdimon
PRO
301
110k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
Adopting Sorbet at Scale
ufuk
67
8.6k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
186
16k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
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