Could you please explain why Spring is creating two objects for the configuration of beans shown below, since by default spring default scope is singleton?
The Sprin
You're confusing two different concepts.
The word singleton in spring is used for a bean scope, meaning that the bean will be created only once for the whole application.
Singleton usual meaning refers to the GOF pattern. It is an object oriented pattern guarantying that only one instance of a class will exists (at least in the scope of the classLoader).