Spring Interview Quetion
Spring Interview Quetion
What is autowiring?
For injecting secondary type of dependency, we use autowiring.
Can we write @Repository for business logic class and @Service for dao logic class?
Yes we can shuffle @Repository & @Service.
It is just to understand other programmers to identify business logic class and dao layer
class.
But we can’t replace @Controller class.