SpringOne2GX 2013 Replay: Going Beyond Dependency Injection

News | Pieter Humphrey | April 29, 2014 | ...

Recorded at SpringOne2GX 2013 in Santa Clara, CA

Speaker: Mark Secrist

Many developers who are learning the Spring Framework think of it as simply another mechanism for centralized dependency injection. While the framework does handle that responsibility quite well, the framework is so much more. In this session, we'll explore some of the building blocks and patterns used by the core framework as well as many of the other Spring projects. The result is that attendees will gain a better understanding of how to use the Spring Framework and learn how to build their own components that can leverage these same patterns. Topics we'll explore:

  • What is the benefit of centralized lifecycle management
  • Programming to interfaces
  • Leveraging the power of proxies
  • Using annotations
  • Understanding the template pattern

Dependency injection is one very important part of what the Spring Framework does. However, it is also a collection of very key patterns that we'll explore.

  • Centralized lifecycle management
  • Examining the BeanFactoryPostProcessor
  • Examining the BeanPostProcessor
  • How to write your own BeanPostProcessor
  • Programming to interfaces
  • Benefits of programming to interfaces
  • Loose coupling
  • Examples of how Spring leverages this mechanism
  • How to leverage in your own Spring applications
  • Leveraging the power of proxies
  • How proxies work in Spring
  • How Spring uses them
  • Writing your own proxy-based solution
  • Using annotations
  • Examples of how Spring uses annotations
  • Using your own annotations
  • Understanding the template pattern
  • Purpose of template pattern
  • How Spring uses templates
  • Creating your own template

Learn more about Spring Framework at http://projects.spring.io/spring-framework

!{iframe width="560" height="315" src="//www.youtube.com/embed/JfgP566BHW0" frameborder="0" allowfullscreen}{/iframe}

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all