I\'am unclear as to what the roles and responsibility of the factory class is. I know enough that the factory class should be resposible for the creation of domain objects (agg
I see Application Services layer having responsibility for creating new entities, by calling a factory to do so. Hence, entity factory interface is defined in Application Service module, and the actual implementation is an infrastructure service, in the same way that persistence is. For a nice clear idea on general application service vs domain service vs infrastructure services, I gained a lot of clarity by watching this: Bob Martin Ruby Midwest 2011