The application-context.xml can have a lot of beans defined inside it referencing each other.
In the above case a 'Wheel' object is created and injected to 'Car'. And the link happened with the 'ref' 'wheelReference'.
Now, what if we do not want to have the reference i.e. 'wheelReference' and let Spring figure out a different way to achieve this.
And thus Autowiring comes into picture.
Autowiring is a great feature which allows spring to get the reference objects by name or by type(Not to worry by the terms, we will explain in a while).
1. Autowiring by Name
2. Autowiring by Type
3. Autowiring by Constructor