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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Balicanta
July 25, 2016
Technology
98
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
90
Other Decks in Technology
See All in Technology
Comment regagner la souveraineté de vos données tout en étant payé grâce à Nostr !
rlifchitz
0
200
サイバーエージェントにおけるAI推進戦略と変革への取り組み
shotatsuge
0
530
AI Agentをシステムに組み込む前にゆるく向き合ってみる
hayama17
0
130
Zenoh on Zephyr on LiteX
takasehideki
2
110
「軸足」は 固定しなくていい - 熱量と強みで描く、しなやかなキャリアの形
kakehashi
PRO
1
260
ロボティクスの技術 / Robotics Technology
ks91
PRO
0
130
元銀行員がAIだけでアプリを量産!「バイブコーディング実演セミナー 」
tatsuya1970
0
110
AIネイティブな開発のサプライチェーンリスク対策 〜激動の開発現場でリスクに立ち向かう〜【ZennFes】
cscengineer
PRO
2
160
FPGAの開発コンペでZephyrを使ってみた
iotengineer22
0
200
AIのReact習熟度を測る
uhyo
2
680
GitHub Copilot app最速の発信の裏側
tomokusaba
1
250
起点・思考・出力で分解する 〜PM業務の自動化設計〜
kazu_kichi_67
1
1k
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
The Limits of Empathy - UXLibs8
cassininazir
1
370
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
780
Between Models and Reality
mayunak
4
350
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Typedesign – Prime Four
hannesfritz
42
3.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Building Adaptive Systems
keathley
44
3.1k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
290
Leo the Paperboy
mayatellez
7
1.9k
Navigating Team Friction
lara
192
16k
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