Top "Abstract-factory" questions

Abstract Factory is a creational design pattern published by the Gang of Four.

Is the Service Locator pattern any different from the Abstract Factory pattern?

At first glance, the Service Locator pattern looks the same as the Abstract Factory pattern to me. They both seem …

design-patterns service-locator abstract-factory
Factory, Abstract Factory and Factory Method

I am really confused about these three terms. My understanding is that: in the Factory pattern, there is no concrete …

design-patterns factory factory-pattern abstract-factory
DAO/Abstract Factory Pattern - multiple data sources

I currently have some DAOs set up using the abstract factory pattern. It looks something like this: public abstract class …

design-patterns dao abstract-factory
Factory implemented with static method

I have seen an implementation of Factory using static methods. Something like this: public class MyFactory { public static Product1 createProduct1() {} …

design-patterns static factory factory-pattern abstract-factory