If I Autowire a service class and create a new object of the same service class again by new Service(). How many service object will get created?
When I am using setter injection to create a new object will that object will create when the class loads or it will created whenever required?
I want to clarify my concept of object creation in Spring boot using various ways