Spring Framework Tutorial Session 1
This is an introduction to spring framework. Spring framework was introduced by Rod Johnson. Spring offers Dependency Injection and Aspect-oriented Programming. Spring framework contributes to loose coupling and Inversion of Control. This session gives an overview of how spring framework contributes to loose coupling. Spring has modules like Spring jdbc, spring JMS which reduces the complexity in implementing those APIs.
Download the PPT and Example Code
Introduction to spring framework part 1
Introduction to spring framework part 2
Introduction to spring framework part 3
Spring Framework Tutorial Session 2 Basic Bean Wiring - Spring
This Session elaborates on Spring Basic Bean wiring. This video explains about how to inject the values to the bean through the setter methods and the constructor arguments. It also elaborates about spring list configuration, configuring to load set collection, Map, Properties.
It depicts how the spring framework containers work and how the bean life cycle is managed. The first explains about the Spring framework BeanFactory and then ApplicationContext containers.
Download Basic Bean wiring PPT
Download the Basic Bean wiring example
Spring Framework Tutorial Session 3 Spring Auto Wiring - by Type, by Name, by Constructor
This video explains about the advantages of Spring auto wiring. It explains different types of spring Auto wiring like byName, byType and by constructor.
Auto wiring byName:
By using this autowiring- the spring framework checks looks for the properties and checks if any other beans are name with the same name in the xml and if matches then instantiates and injects it into the target bean.
Auto wiring byType:
By using this kind of autowiring, the spring framework looks the type of the property and checks if there is a bean with the same type. If the type matches, it creates the bean and injects it to the target type.
Autowiring by Constructor:
By using this kind of Autowiring, the spring framework checks each and every argument of the constructor and checks if there is a same type of bean present in the configuration. If present, spring instantiates it and injects it through the constructor.
Download the Spring Auto wiring PPT
Download the Spring Auto wiring example
Spring Framework Tutorial Session 4 - Spring Method Injection and Bean Scope
This video elaborates about the Spring Method Injection and Spring Bean Scopes. Spring Framework has this wonderful feature of Method Injection to control what kind of methods need to be executed and also what kind of return types should be returned by the Spring Framework.
Download Spring Method Injection and Bean scope PPT
Download Spring Method Injection and Bean scope example
No comments:
Post a Comment