Interfaces
Application
DAOFactory class
The code for the DAOFactory class
public class DAOFactory
{
public static ProductDAO getProductDAO()
{
ProductDAO pDAO = new ProductTextFile();
return pDAO;
}
}