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
99
Other Decks in Technology
See All in Technology
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
6k
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
110
継続的なAIコスト最適化
bgpat
1
340
フロントエンドカンファレンス関西2026 - 速すぎるUIに、待ち時間を
teamlab
PRO
0
130
Running Kotlin + Quarkus with Lambda
nealle
1
3.7k
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
860
How to Design Configuration for Rails Applications
willnet
1
770
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
170
子育てエンジニアの可処分時間が減っても成長を諦めない戦い方
sudoakiy
6
4.6k
re:Invent初参加で変わったこと、2回目にやってみたいこと(JAWS-UG彩の国埼玉 #12)
mhrtech
2
220
USB PDを使ってスマホを労わりたい
raspython3
0
180
Featured
See All Featured
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
Done Done
chrislema
187
17k
It's Worth the Effort
3n
188
29k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Six Lessons from altMBA
skipperchong
29
4.5k
Exploring anti-patterns in Rails
aemeredith
4
540
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Are puppies a ranking factor?
jonoalderson
2
4.1k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
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