Submit Search
Upload
達暉資訊 - 2014教育訓練 - Spring IoC Container
•
2 likes
•
1,313 views
Allen Hsieh
Follow
介紹 Spring IoC Container 觀念。 透過案例介紹 DI 的用途,並且一步一步帶你降低程式的藕合性。
Read less
Read more
Technology
Report
Share
Report
Share
1 of 53
Download now
Download to read offline
Recommended
iOS App Development - Animation Ease Out
iOS App Development - Animation Ease Out
Ryan Chung
Google Apps 申請教學(二)Apps 的申請
Google Apps 申請教學(二)Apps 的申請
煜庭 邱
達暉資訊 2014教育訓練 - Spring AOP
達暉資訊 2014教育訓練 - Spring AOP
Allen Hsieh
Design & Thinking in Luster
Design & Thinking in Luster
Jason Chung
前端魔法師召集令
前端魔法師召集令
Jason Chung
Factory Pattern in Luster
Factory Pattern in Luster
Jason Chung
重構—改善既有程式的設計(chapter 1)
重構—改善既有程式的設計(chapter 1)
Chris Huang
模式入門第一堂課: 30分鐘寫出一個模式
模式入門第一堂課: 30分鐘寫出一個模式
teddysoft
Recommended
iOS App Development - Animation Ease Out
iOS App Development - Animation Ease Out
Ryan Chung
Google Apps 申請教學(二)Apps 的申請
Google Apps 申請教學(二)Apps 的申請
煜庭 邱
達暉資訊 2014教育訓練 - Spring AOP
達暉資訊 2014教育訓練 - Spring AOP
Allen Hsieh
Design & Thinking in Luster
Design & Thinking in Luster
Jason Chung
前端魔法師召集令
前端魔法師召集令
Jason Chung
Factory Pattern in Luster
Factory Pattern in Luster
Jason Chung
重構—改善既有程式的設計(chapter 1)
重構—改善既有程式的設計(chapter 1)
Chris Huang
模式入門第一堂課: 30分鐘寫出一個模式
模式入門第一堂課: 30分鐘寫出一個模式
teddysoft
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
More Related Content
Featured
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Featured
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
達暉資訊 - 2014教育訓練 - Spring IoC Container
1.
2014 教育訓練系列課程 Spring IoC
Container ! 達暉資訊 Allen Hsieh
2.
Inversion of Control! 控制反轉
3.
Dependency Injection! 依賴注射
4.
超好買線上購物商城
5.
6.
7.
STEP 2 加入/登入會員 STEP 1 選購商品 STEP
3 確認訂單 STEP 4 選擇付款方式 STEP 5 填寫資料 STEP 6 完成交易
8.
9.
10.
11.
12.
決議: 改用「簡訊」來通知客戶相關訊息
13.
14.
15.
16.
17.
決議: Email & 簡訊都發送,並考慮未來
App 推播機制的可能性。
18.
你覺得應該要怎麼改?
19.
20.
1將程式中 會變化的部分 取出並封裝
21.
22.
23.
24.
Program to an
! interface,! not an implementation. 2
25.
26.
27.
28.
29.
30.
31.
32.
Spring Framework 介紹
33.
Spring IoC Container Java
Business Objects! (POJOs) Configuration! (Metadata) Bean A Bean B Bean C Bean D Bean E Spring IoC Container Application getBean(“beanName”) Bean Reference
34.
35.
Using the Container
36.
Bean 初始化方式
37.
Bean 初始化方式(續)
38.
Spring IoC Container! 依賴注射方式
39.
透過建構子進行依賴注射
40.
透過 Setter 進行依賴注射
41.
Spring IoC Container! Bean
Scopes
42.
Singleton Scope
43.
Prototype Scope
44.
Spring Bean Scope
List singleton prototype request session global session 每一個 Spring Container 會共用同一個 Bean Instance。 (預設值) 每一次 Request 都會建立一個新的 Bean Instance 來 服務。 每一次 HTTP Request 共用同一個 Bean Instance。 (Web Only) 每一個 HTTP Session 共用同一個 Bean Instance。 (Web Only) 每一個 Global HTTP Session 共用同一個 Bean Instance。(Porlet Only)
45.
Annotation-based Configuration
46.
啟動 Annotation 功能
47.
@Required Annotation
48.
@Autowired Annotation
49.
@PostConstruct & @PreDestory
Annotation
50.
Component 掃描
51.
影 片 分
享
Download now