Constructor Arguments: The Java Spring Basics Tutorial Part 7

How can we supply arguments to the constructors of our Spring Framework beans? With a bit of XML and some help from the Eclipse Spring IDE plugin, it's quite easy. Passing data to beans via constructors or properties is a vital Spring skill, and once you understand this, you're closer than you think to understanding dependency injection ...

When the video is running, click the maximize button in the lower-right-hand corner to make it full screen. Don't forget to change to HD also if the video appears fuzzy.



Spring Tutorial 7 Source Code