Read the summary

Transcript: #10 Constructor and Setter Injection in Spring

by Telusko

The video's transcript, taken from its captions. Click a timestamp to play the video from that moment.

0:00 welcome back aliens let's continue the series on Spring framework Target for this video is 150 comments so to this point we were able to work with spring boot but then we want to also explore how do you work with spring framework without spring Boot and then uh to achieve that what we have done is we got this Dev we got this app uh basically we were trying to create the object for Dev so when I say we are trying to create the object basically I'm asking spring framework to give me the object as you can see uh we have done that uh in the configuration

0:30 so if I show you the configuration which is spring.xml we got three objects here so every time you want the object from Spring framework if you are not using Spring Boot we have to use some configuration we are using XML here you can also do that in different ways but in XML if you are doing that we can use Bean tags uh you can see we got a bean tag with the ID Dev and the class name is Dev uh we got another Bean tag which is Dev one and the class is dev then we got laptop of class laptop so in total

🔒 The rest of the transcript is available with Pro.

🔒 Unlock Premium Features

Access to Transcript is a premium feature. Upgrade now to unlock unlimited studying tools.