Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Spring 101
A 30 Minute Review by Matthew McCullough
❶ What Is Spring?
   Don’t call me, I’ll call you
• Java Application Framework (Not JEE)
• Targets Web, Enterprise Applications
• POJO Centric
• Inversion of Control (IOC)
...
❷ Modularized
   Alphabet Soup
• JDBC Wrapper
• JDO, iBatis, Hibernate, JPA helper
• Supplement to Struts, Tapestry
• Batch Processing Framework
• Timed ...
❸ IOC/DI
Don’t call me, I’ll call you
• Core Spring capabilities
• Configure components from outside-in
• Counter to the usual constructor calling
  out to every...
Split Personalities

• DI/IOC can be used in three ways
 • POJO Setters
 • Constructors
 • Service lookup (JNDI)
❹ Factory
But not the kind that Al Gore worries about
• POJO Centric
• BeanFactory creates beans
 • Gives toggle choice between singleton
    and instances

 • Creates PROPER s...
❺ Aspects
• Supplement existing methods on the fly
• Terminology: Proxies, Weaving, AspectJ
• Weaving:
 • Byte time
 • Load time
Upcoming SlideShare
Loading in …5
×

Spring Framework 101

4,402 views

Published on

A brief review of the Spring 2.0 IOC Framework by Matthew McCullough of Ambient Ideas.

Published in: Education
  • Be the first to comment

Spring Framework 101

  1. 1. Spring 101 A 30 Minute Review by Matthew McCullough
  2. 2. ❶ What Is Spring? Don’t call me, I’ll call you
  3. 3. • Java Application Framework (Not JEE) • Targets Web, Enterprise Applications • POJO Centric • Inversion of Control (IOC) • Now called Dependency Injection (DI)
  4. 4. ❷ Modularized Alphabet Soup
  5. 5. • JDBC Wrapper • JDO, iBatis, Hibernate, JPA helper • Supplement to Struts, Tapestry • Batch Processing Framework • Timed Events • JMS, JNDI, LDAP
  6. 6. ❸ IOC/DI Don’t call me, I’ll call you
  7. 7. • Core Spring capabilities • Configure components from outside-in • Counter to the usual constructor calling out to everything it needs
  8. 8. Split Personalities • DI/IOC can be used in three ways • POJO Setters • Constructors • Service lookup (JNDI)
  9. 9. ❹ Factory But not the kind that Al Gore worries about
  10. 10. • POJO Centric • BeanFactory creates beans • Gives toggle choice between singleton and instances • Creates PROPER singletons • Auto-wiring by name
  11. 11. ❺ Aspects
  12. 12. • Supplement existing methods on the fly • Terminology: Proxies, Weaving, AspectJ • Weaving: • Byte time • Load time

×