Showing posts with label Spring Dependency Injection. Show all posts
Showing posts with label Spring Dependency Injection. Show all posts

Sunday, May 18, 2014

Going Beyond Dependency Injection

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 life-cycle 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 life-cycle 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




Source : https://www.youtube.com/watch?v=JfgP566BHW0

Sunday, October 27, 2013

Spring Dependency Injection Style (Part 1)

In this talk we will provide a hands-on tour of the new dependency injection features in Spring 3.0.

Spring Dependency Injection Styles

In this talk we will provide a tour of modern dependency injection and Spring container configuration styles, including those delivered in the recently-released Spring 3.1. We will show by example the use of XML, Annotated POJOs, and Java @Configuration classes to wire up your application. Just as important to knowing how to configure the container, we will also discuss why you would choose one method over another, as well as how they can be mixed and matched.