Soumettre la recherche
Mettre en ligne
Spring Framework Introduction
•
Télécharger en tant que PPTX, PDF
•
1 j'aime
•
869 vues
Alex Su
Suivre
Technologie
Signaler
Partager
Signaler
Partager
1 sur 27
Télécharger maintenant
Recommandé
Epoxy 介紹
Epoxy 介紹
Kros Huang
How to get full power from WebApi
How to get full power from WebApi
Raffaele Rialdi
Real World Asp.Net WebApi Applications
Real World Asp.Net WebApi Applications
Effie Arditi
Advance java session 17
Advance java session 17
Smita B Kumar
Node js introduction
Node js introduction
Alex Su
SGcafe Anime News For Otaku Nov 2012 Issue
SGcafe Anime News For Otaku Nov 2012 Issue
VR-Zone .com
One click deployment
One click deployment
Alex Su
Cascading introduction
Cascading introduction
Alex Su
Recommandé
Epoxy 介紹
Epoxy 介紹
Kros Huang
How to get full power from WebApi
How to get full power from WebApi
Raffaele Rialdi
Real World Asp.Net WebApi Applications
Real World Asp.Net WebApi Applications
Effie Arditi
Advance java session 17
Advance java session 17
Smita B Kumar
Node js introduction
Node js introduction
Alex Su
SGcafe Anime News For Otaku Nov 2012 Issue
SGcafe Anime News For Otaku Nov 2012 Issue
VR-Zone .com
One click deployment
One click deployment
Alex Su
Cascading introduction
Cascading introduction
Alex Su
Using puppet
Using puppet
Alex Su
Redis Introduction
Redis Introduction
Alex Su
Scrum Introduction
Scrum Introduction
Alex Su
Presentation v16 slideshow
Presentation v16 slideshow
tenmillion
JMS Introduction
JMS Introduction
Alex Su
Attitude
Attitude
swagat_ams
MicroProfile: A Quest for a Lightweight and Modern Enterprise Java Platform
MicroProfile: A Quest for a Lightweight and Modern Enterprise Java Platform
Mike Croft
Web Technologies in Java EE 7
Web Technologies in Java EE 7
Lukáš Fryč
Flying to clouds - can it be easy? Cloud Native Applications
Flying to clouds - can it be easy? Cloud Native Applications
Jacek Bukowski
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
PROIDEA
Apache Eagle: 来自eBay的分布式实时Hadoop数据安全引擎
Apache Eagle: 来自eBay的分布式实时Hadoop数据安全引擎
Qingwen zhao
Architecting for Microservices Part 2
Architecting for Microservices Part 2
Elana Krasner
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
João Pedro Martins
Play Framework and Activator
Play Framework and Activator
Kevin Webber
Deep Dive: Alfresco Core Repository (... embedded in a micro-services style a...
Deep Dive: Alfresco Core Repository (... embedded in a micro-services style a...
J V
Modularity and Domain Driven Design; a killer Combination? - Tom de Wolf & St...
Modularity and Domain Driven Design; a killer Combination? - Tom de Wolf & St...
NLJUG
Spring Cloud and Netflix OSS overview v1
Spring Cloud and Netflix OSS overview v1
Dmitry Skaredov
Best Practices for Webcam Augmented Reality
Best Practices for Webcam Augmented Reality
Zugara
Continuous Integration - Live Static Analysis with Puma Scan
Continuous Integration - Live Static Analysis with Puma Scan
Puma Security, LLC
ThroughTheLookingGlass_EffectiveObservability.pptx
ThroughTheLookingGlass_EffectiveObservability.pptx
Grace Jansen
Design Patterns para Microsserviços com MicroProfile
Design Patterns para Microsserviços com MicroProfile
Víctor Leonel Orozco López
AWS re:Invent 2016: Life Without SSH: Immutable Infrastructure in Production ...
AWS re:Invent 2016: Life Without SSH: Immutable Infrastructure in Production ...
Amazon Web Services
Contenu connexe
En vedette
Using puppet
Using puppet
Alex Su
Redis Introduction
Redis Introduction
Alex Su
Scrum Introduction
Scrum Introduction
Alex Su
Presentation v16 slideshow
Presentation v16 slideshow
tenmillion
JMS Introduction
JMS Introduction
Alex Su
Attitude
Attitude
swagat_ams
En vedette
(6)
Using puppet
Using puppet
Redis Introduction
Redis Introduction
Scrum Introduction
Scrum Introduction
Presentation v16 slideshow
Presentation v16 slideshow
JMS Introduction
JMS Introduction
Attitude
Attitude
Similaire à Spring Framework Introduction
MicroProfile: A Quest for a Lightweight and Modern Enterprise Java Platform
MicroProfile: A Quest for a Lightweight and Modern Enterprise Java Platform
Mike Croft
Web Technologies in Java EE 7
Web Technologies in Java EE 7
Lukáš Fryč
Flying to clouds - can it be easy? Cloud Native Applications
Flying to clouds - can it be easy? Cloud Native Applications
Jacek Bukowski
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
PROIDEA
Apache Eagle: 来自eBay的分布式实时Hadoop数据安全引擎
Apache Eagle: 来自eBay的分布式实时Hadoop数据安全引擎
Qingwen zhao
Architecting for Microservices Part 2
Architecting for Microservices Part 2
Elana Krasner
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
João Pedro Martins
Play Framework and Activator
Play Framework and Activator
Kevin Webber
Deep Dive: Alfresco Core Repository (... embedded in a micro-services style a...
Deep Dive: Alfresco Core Repository (... embedded in a micro-services style a...
J V
Modularity and Domain Driven Design; a killer Combination? - Tom de Wolf & St...
Modularity and Domain Driven Design; a killer Combination? - Tom de Wolf & St...
NLJUG
Spring Cloud and Netflix OSS overview v1
Spring Cloud and Netflix OSS overview v1
Dmitry Skaredov
Best Practices for Webcam Augmented Reality
Best Practices for Webcam Augmented Reality
Zugara
Continuous Integration - Live Static Analysis with Puma Scan
Continuous Integration - Live Static Analysis with Puma Scan
Puma Security, LLC
ThroughTheLookingGlass_EffectiveObservability.pptx
ThroughTheLookingGlass_EffectiveObservability.pptx
Grace Jansen
Design Patterns para Microsserviços com MicroProfile
Design Patterns para Microsserviços com MicroProfile
Víctor Leonel Orozco López
AWS re:Invent 2016: Life Without SSH: Immutable Infrastructure in Production ...
AWS re:Invent 2016: Life Without SSH: Immutable Infrastructure in Production ...
Amazon Web Services
Real world Scala hAkking NLJUG JFall 2011
Real world Scala hAkking NLJUG JFall 2011
Raymond Roestenburg
Windows 8 Metro apps and the outside world
Windows 8 Metro apps and the outside world
Prabhakaran Soundarapandian
Java Unit Test and Coverage Introduction
Java Unit Test and Coverage Introduction
Alex Su
Security for developers
Security for developers
Abdelrhman Shawky
Similaire à Spring Framework Introduction
(20)
MicroProfile: A Quest for a Lightweight and Modern Enterprise Java Platform
MicroProfile: A Quest for a Lightweight and Modern Enterprise Java Platform
Web Technologies in Java EE 7
Web Technologies in Java EE 7
Flying to clouds - can it be easy? Cloud Native Applications
Flying to clouds - can it be easy? Cloud Native Applications
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
JDD 2016 - Jacek Bukowski - "Flying To Clouds" - Can It Be Easy?
Apache Eagle: 来自eBay的分布式实时Hadoop数据安全引擎
Apache Eagle: 来自eBay的分布式实时Hadoop数据安全引擎
Architecting for Microservices Part 2
Architecting for Microservices Part 2
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Azure Service Fabric and the Actor Model: when did we forget Object Orientation?
Play Framework and Activator
Play Framework and Activator
Deep Dive: Alfresco Core Repository (... embedded in a micro-services style a...
Deep Dive: Alfresco Core Repository (... embedded in a micro-services style a...
Modularity and Domain Driven Design; a killer Combination? - Tom de Wolf & St...
Modularity and Domain Driven Design; a killer Combination? - Tom de Wolf & St...
Spring Cloud and Netflix OSS overview v1
Spring Cloud and Netflix OSS overview v1
Best Practices for Webcam Augmented Reality
Best Practices for Webcam Augmented Reality
Continuous Integration - Live Static Analysis with Puma Scan
Continuous Integration - Live Static Analysis with Puma Scan
ThroughTheLookingGlass_EffectiveObservability.pptx
ThroughTheLookingGlass_EffectiveObservability.pptx
Design Patterns para Microsserviços com MicroProfile
Design Patterns para Microsserviços com MicroProfile
AWS re:Invent 2016: Life Without SSH: Immutable Infrastructure in Production ...
AWS re:Invent 2016: Life Without SSH: Immutable Infrastructure in Production ...
Real world Scala hAkking NLJUG JFall 2011
Real world Scala hAkking NLJUG JFall 2011
Windows 8 Metro apps and the outside world
Windows 8 Metro apps and the outside world
Java Unit Test and Coverage Introduction
Java Unit Test and Coverage Introduction
Security for developers
Security for developers
Dernier
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Slibray Presentation
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Florian Wilhelm
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
Scott Keck-Warren
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Alex Barbosa Coqueiro
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
Fwdays
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
charlottematthew16
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Wonjun Hwang
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
carlostorres15106
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Lorenzo Miniero
Dernier
(20)
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Spring Framework Introduction
1.
Spring Framework Introduction Alex
Su 2010/06/14 Copyright 2010 TCloud Computing Inc.
2.
Agenda •Concept –
IOC(Inverse of Control and Dependency Injection) – AOP(Aspect-Oriented Programming) •Core Technologies – Architecture – Xml v.s. Annotation – SpEL – Testing •Integration – CXF(web services and restful services) Trend Micro Confidential
3.
IOC •IOC Type
•Type 1 : interface injection •Type 2 : setter injection •Type 3 : constructor injection Trend Micro Confidential
4.
AOP Trend Micro Confidential
5.
AOP Trend Micro Confidential
6.
AOP • Aspect • Advice •
Interceptor • Introduction • Joinpoint • Pointcut • Target • Proxy • Weave Trend Micro Confidential
7.
AOP Trend Micro Confidential
8.
AOP @Aspect class BeforeExample {
@Before("execution(* com.xyz.myapp.dao.*.*(..))") public void doAccessCheck() { // ... } } @Aspect class AfterReturningExample { @AfterReturning("com.xyz.myapp.SystemArchitecture.dataAcc essOperation()") public void doAccessCheck() { // ... } } Trend Micro Confidential
9.
AOP @Aspect class AroundExample { @Around("com.xyz.myapp.SystemArchitecture.businessService ()")
public Object doBasicProfiling(ProceedingJoinPoint pjp) throws Throwable { // start stopwatch Object retVal = pjp.proceed(); // stop stopwatch return retVal; } } Trend Micro Confidential
10.
Pointcut designator • execution(modifiers-pattern?
ret-type-pattern declaring-type-pattern? name- pattern(param-pattern) throws-pattern?) • execution(public * *(..)) • execution(* com.xyz.service.AccountService.*(..)) • within(com.xyz.service.*) • within(com.xyz.service..*) • this(com.xyz.service.AccountService) • target(com.xyz.service.AccountService) Trend Micro Confidential
11.
Architecture Trend Micro
Confidential
12.
Architecture Trend Micro
Confidential
13.
Architecture • Bean Scope
• Singleton • Prototype • Request • Session • Custom Trend Micro Confidential
14.
Architecture Trend Micro
Confidential
15.
Architecture Trend Micro
Confidential
16.
Xml v.s. Annotation public
class SimpleMovieLister { private MovieFinder movieFinder; public void find() { movieFinder.find(); } public void setMovieFinder(MovieFinder movieFinder) { this.movieFinder = movieFinder; } } Trend Micro Confidential
17.
Xml v.s. Annotation <bean
id="movieFinder" class="com.sample.MovieFinder"/> <bean id="simpleMovieLister” class="com.sample.SimpleMovieLister"> <property name="movieFinder"> <ref local="movieFinder"/> </property> </bean> Trend Micro Confidential
18.
Xml v.s. Annotation @Service public
class SimpleMovieLister { @Resource private MovieFinder movieFinder; public void find() { movieFinder.find(); } } Trend Micro Confidential
19.
Xml v.s. Annotation •
stereotype annotations • @Component • @Service • @Controller • @Repository Controller Service Repository Trend Micro Confidential
20.
SpEL •
Literal expressions • Properties, Arrays, Lists, Maps, Indexers • Methods • Operators • Assignment • Types • Constructors • Variables • User defined functions • Ternary Operator • Elvis Operator • Safe Navigation operator • Collection Selection • Collection Projection • Expression templating Trend Micro Confidential
21.
Testing @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = {
"classpath:appContext_core.xml", "classpath:appContext_index.xml”}) public abstract class AbstractTestCase { } Trend Micro Confidential
22.
Testing • Spring-specific annotations
– @TransactionConfiguration – @BeforeTransaction – @AfterTransaction – @IfProfileValue – @ExpectedException – @Timed – @Repeat Trend Micro Confidential
23.
CXF • JAX-WS Support
– SOAP 1.1, 1.2 • RESTful services – JSON & XML support • WS-* Support – WS-Addressing, WS-Policy, WS-ReliableMessaging and WS-Security • Spring Integration • Bus – Fast Infoset Trend Micro Confidential
24.
CXF • RESTful services
– JAX-RS – JAX-WS Provider and Dispatch – HTTP Binding(deprecated) Trend Micro Confidential
25.
CXF • Parameters
– @PathParam – @QueryParam – @HttpHeader – @MatrixParam – @FormParam – @CookieParam – PathSegment Trend Micro Confidential
26.
Reference • http://caterpillar.onlyfun.net/Gossip/ • http://www.springsource.org/ •
http://cxf.apache.org/ Trend Micro Confidential
27.
THANK YOU!
Trend Micro Confidential
Télécharger maintenant