Well the Factory Pattern is a Creational pattern. According to Wikipwedia -> Creational Pattern
Spring provides a layer of abstraction over creation of objects and decouples Object creation logic from Business logic. In this scenario the Spring Container is responsible for the creation of Object(s).
I gone through creational pattern in wikipedia. i did not understand this statement.
Creational design patterns are further categorized into Object-creational patterns and Class-creational patterns. Where, Object-creational patterns deal with Object creation and Class-creational deal with Class-instantiation.
object creation and class-instantiation both are same. but why did he make the difference.?
Could be that he intended -
Object creation: Creation of the Object, allocating of memory for properties etc.
Class instantiation: Initialization of properties (default values or the values set by the DCOnstructor.)
I am not too sure and I just am trying to give a difference between the two.