Hi Guys...I found something new (probably because I never saw anything like this before

) and was googling for some explanation without any luck.
How many instances of Student bean gets created ? I thought probably a singleton bean will eventually get created, irrespective of the number of definition for all the same type of beans, spring container would return the same singleton instance. But, I guess ApplicationContext is creating a singleton instance per bean definition in the spring container instead of a singleton instance per container? Am I doing something wrong?