Download presentation
Presentation is loading. Please wait.
Published byBrandon Lynch Modified over 8 years ago
1
Training huangchong@cn-acg.com
2
What’s Spring?
3
The leading full-stack Java/JEE application framework
5
Why Spring?
6
Hibernate JPA iBatis JDO TopLink OJB JDBC Encapsulation…
7
What’s IoC?
8
Inversion of Control
9
public class Girl { void kiss(){ Boy boy = new Boy(); } }
10
public class Girl { void kiss(){ Boy boy = BoyFactory.createBoy(); } }
11
public class Girl { void kiss(Boy boy){ boy.kiss(); } }
12
Do not call us, we will call you.
13
Why IoC?
14
Loose Couple Data Source DAO/Manager Singleton…
15
What’s AOP?
16
Aspect Oriented Programming
17
Aspects in JavaEE Authentication Transactions Validations Logging Caching Error handling…
18
Why AOP?
19
Separation of concerns Book addBook(params) { if (!isLogin()) { // bad smell redirec_to home_path } else { doAddBook() }
20
ORM / DAO
21
Hibernate JPA iBatis JDO TopLink OJB JDBC Encapsulation…
22
Web
23
SpringMVC Struts WebWork Tapestry JSF FreeMarker / Velocity / JSP…
24
JavaEE Integration
25
Remoting EJB JMS JMX JCA Email Scheduling…
26
So, What’s ?
27
Assembly plant => IoC
28
Polyhedron => AOP
29
Smelter => glue
30
PoJo Enhancement
31
Let’s see the code.
32
What’s new in Spring 2.0
33
Java Config Google Guice Kenent Annotation
34
How to learn Spring Spring Document Center Spring Modules
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.