Can we have duplicate names for the same bean id that is mentioned in the XML? If not, then how do we override the bean in Spring?
An example from official spring manual:
Is that what you was looking for? Updated link