Package oss.ngocminh.lego.persistence

Examples of oss.ngocminh.lego.persistence.CategoryDAO


      HttpServletResponse response) throws ServletException, IOException {
    Connection conn = null;
    try {
      conn = getConnection();
     
      CategoryDAO categoryDAO = new CategoryDAO();
      categoryDAO.setConnection(conn);
      List<Entity> categories = categoryDAO.list();
      request.setAttribute("categories", categories);
     
      ProductDAO productDAO = new ProductDAO();
      productDAO.setConnection(conn);
      List<Entity> bestSellers = productDAO.findRecentBestSellers(20);
View Full Code Here

TOP

Related Classes of oss.ngocminh.lego.persistence.CategoryDAO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.