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
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
Transcript
8 slides
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
More Decks by Balicanta
See All by Balicanta
Lab317 Python Playground Week 1
balicantayao
0
110
Other Decks in Technology
See All in Technology
AWS Quick 入門 | 目指せ Quick マスター 01
inariku
PRO
2
340
Active Directory と Entra ID のむむむな関係
murachiakira
PRO
4
1.8k
Go初心者のクラウドエンジニアが、デプロイを通して旨味を知っていく話
ryudai
1
200
LLM 基盤と kagent v0 を全部 k8s に入れてみた / Deploy both LLM and kagent v0 in k8s
kota2and3kan
0
180
Claude Codeで新規事業を伸ばせるか? Zennの試行錯誤の記録
wadayusuke
2
160
高品質と高スピードを支える品質のシフトレフトのアプローチ
goyoki
2
710
2026-11-11 Tamachi.sre#7 PaCにインフラリソースの命を救われました。 / PaC saves the infra resource life
masasuzu
0
150
Ebitengine製iOSアプリ公開ボタンを押す会
eiei114
0
120
Bots in Kiro Crew (One point of contact for ongoing work) | Kiro: Zero to Hero 12
inariku
PRO
1
130
これからのデータエンジニアの役割について考える / Rethinking the Role of Data Engineers in the AI Era
okiyuki99
0
460
複数システムが同居した 15 年物の AWS アカウントを解体するための考古学
wa6sn
3
140
SSFの現在地 ― CAEP/RISCからAI Identityへ
oidfj
0
430
Featured
See All Featured
Being A Developer After 40
akosma
PRO
92
590k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
400
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
460
Thoughts on Productivity
jonyablonski
76
5.5k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
470
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
310
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
620
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
380
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k