Download the Example Code and PPT From http://java9s.com/spring-framework/spring-method-injection-and-bean-scopes
This video tutorial elobarates 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.
There are two types of Method Injection - The first one is the Replace Method using Method Replacer and the Second one is the Look up Method which is used to return a different return type than the conventional return type already defined in the Class.
Regarding the Bean scope, i have discussed the importance of Singleton and Prototype scopes. The singleton scope defined beans will only have one instance created for the entire life and with the scope defined as prototype, there will be n number of instances that will be created with n number of call to getBean() method of the Spring Framework.
Please remember that you need to have CGLIB-NODEPS jar in the classpath to execute this example.
You can find the source code from the website http://java9s.com
Thanks a lot.. it is a very nicely presented session. I started by seeing one session, but ended watching all of them. i really helped me to know the basics of Springs. Looking forward for some more session from Srinivas
anshuforu 1 month ago
Great work...wow! I think I've learned more than I have expected in about an hour than what I could have otherwise. Thanks
xuanyeah 1 month ago
Very nice explanation, easy to understand.
chiragmca83 2 months ago
good tutorial. Thanks for the work.
dksb29 4 months ago
Nice explanation
coolsumesh 5 months ago
Excellent work. This is nice explanation. No word to express my thanks.
viveklib 6 months ago
You are very clear with concept ....Thhanks for ur nice tutorials
Sujit
Sujit1125 8 months ago
Nice One Bruv, London loves Ya. I like the simplicty.
onpolicy 8 months ago
Simple and clear. Thanks a lot.
saravanansaibaba 10 months ago
hey great tutorial srinivas!! :)
kuldeep1109 11 months ago