I am new in Spring Framework. For now i learn about Constructor Injection.
But i have one question.
How i can set constructor value not in XML configuration?
Because in my book that i've read it set constructor value in XML with this code :
Well, you can also use a combination of xml and annotations. Where you use the annotation @Autowired (replaces a ref="" version) on the constructor in code. or @Value on the constructor (replaces a value="" version)
So now in xml you only have the <bean> tag and <property> or <constructor-arg> tags are replaced with @Autowired or @Value.