第三步:创建业务层ProductService
public List<Product> findAll() throws SQLException{
ProductDao dao = new ProductDAO();
return dao.findAll();
}
public List<Product> findAll() throws SQLException{
ProductDao dao = new ProductDAO();
return dao.findAll();
}