Basicaly, factory is used to create an object (for example, for viewing), you can create another object with one factory with different requests that you can execute
A class utility is a class with static methods that you call to perform some operation (for example, some complicated operation involving manipulating numbers or strings), but regardless of another class.
I read that using the Utility class is bad programming, but I disagree with that
source share