├── DemoDB.rar ├── LICENSE ├── README.md ├── core-service ├── pom.xml └── src │ └── main │ ├── java │ └── br │ │ └── com │ │ └── hhc │ │ └── sample │ │ └── fullstackspringhibernate │ │ └── core │ │ └── service │ │ ├── ClassesService.java │ │ ├── InstructorsService.java │ │ ├── StudentsService.java │ │ └── impl │ │ ├── ClassesServiceImpl.java │ │ ├── InstructorsServiceImpl.java │ │ └── StudentsServiceImpl.java │ └── resources │ └── spring │ └── fullstackspringhibernate-core-spring-root.xml ├── data-domain ├── pom.xml └── src │ └── main │ ├── java │ └── br │ │ └── com │ │ └── hhc │ │ └── sample │ │ └── fullstackspringhibernate │ │ └── database │ │ └── data │ │ └── domain │ │ ├── Classes.java │ │ ├── Instructor.java │ │ ├── InstructorClasses.java │ │ ├── Student.java │ │ ├── StudentClasses.java │ │ └── StudentClassesId.java │ └── resources │ ├── hibernate.cfg.xml │ └── hibernate.reveng.xml ├── data ├── pom.xml └── src │ ├── main │ ├── java │ │ └── br │ │ │ └── com │ │ │ └── hhc │ │ │ └── sample │ │ │ └── fullstackspringhibernate │ │ │ └── database │ │ │ └── data │ │ │ └── dao │ │ │ ├── ClassesDAO.java │ │ │ ├── InstructorsDAO.java │ │ │ ├── StudentsDAO.java │ │ │ └── impl │ │ │ ├── BaseDAOImpl.java │ │ │ ├── ClassesDAOImpl.java │ │ │ ├── InstructorsDAOImpl.java │ │ │ └── StudentDAOImpl.java │ └── resources │ │ ├── properties │ │ └── database.properties │ │ └── spring │ │ ├── fullstackspringhibernate-data-spring-datasource-binding.xml │ │ ├── fullstackspringhibernate-data-spring-hibernate-binding.xml │ │ └── fullstackspringhibernate-data-spring-root.xml │ └── test │ ├── java │ └── br │ │ └── com │ │ └── hhc │ │ └── samples │ │ └── fullstackspringhibernate │ │ └── data │ │ ├── AbstractDataTestSuite.java │ │ └── StudentsDAOTest.java │ └── resources │ └── spring │ └── fullstackspringhibernate-spring-dataRoot-test.xml ├── parent └── pom.xml └── webservice ├── pom.xml └── src └── main ├── java └── br │ └── com │ └── hhc │ └── sample │ └── fullstackspringhibernate │ └── web │ └── controller │ ├── BaseController.java │ ├── services │ └── LoginLogOutServiceController.java │ └── views │ ├── ClassesViewController.java │ ├── HomeViewController.java │ ├── InstructorsViewController.java │ ├── LoginViewController.java │ └── StudentsViewController.java ├── resources ├── properties │ ├── cache-config.properties │ ├── configuration.properties │ └── log4j2.fullstackspringhibernate-webservice.xml └── spring │ ├── spring-root.xml │ ├── spring-security.xml │ └── spring-web-root.xml └── webapp ├── WEB-INF ├── ftl │ ├── classes │ │ └── home.ftl │ ├── home.ftl │ ├── instructors │ │ └── home.ftl │ ├── login.ftl │ ├── logout.ftl │ └── students │ │ └── home.ftl ├── static │ └── img │ │ └── blackline.png └── web.xml └── index.jsp /DemoDB.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/DemoDB.rar -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/README.md -------------------------------------------------------------------------------- /core-service/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/core-service/pom.xml -------------------------------------------------------------------------------- /core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/ClassesService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/ClassesService.java -------------------------------------------------------------------------------- /core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/InstructorsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/InstructorsService.java -------------------------------------------------------------------------------- /core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/StudentsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/StudentsService.java -------------------------------------------------------------------------------- /core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/impl/ClassesServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/impl/ClassesServiceImpl.java -------------------------------------------------------------------------------- /core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/impl/InstructorsServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/impl/InstructorsServiceImpl.java -------------------------------------------------------------------------------- /core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/impl/StudentsServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/core-service/src/main/java/br/com/hhc/sample/fullstackspringhibernate/core/service/impl/StudentsServiceImpl.java -------------------------------------------------------------------------------- /core-service/src/main/resources/spring/fullstackspringhibernate-core-spring-root.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/core-service/src/main/resources/spring/fullstackspringhibernate-core-spring-root.xml -------------------------------------------------------------------------------- /data-domain/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data-domain/pom.xml -------------------------------------------------------------------------------- /data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/Classes.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/Classes.java -------------------------------------------------------------------------------- /data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/Instructor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/Instructor.java -------------------------------------------------------------------------------- /data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/InstructorClasses.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/InstructorClasses.java -------------------------------------------------------------------------------- /data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/Student.java -------------------------------------------------------------------------------- /data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/StudentClasses.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/StudentClasses.java -------------------------------------------------------------------------------- /data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/StudentClassesId.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data-domain/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/domain/StudentClassesId.java -------------------------------------------------------------------------------- /data-domain/src/main/resources/hibernate.cfg.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data-domain/src/main/resources/hibernate.cfg.xml -------------------------------------------------------------------------------- /data-domain/src/main/resources/hibernate.reveng.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data-domain/src/main/resources/hibernate.reveng.xml -------------------------------------------------------------------------------- /data/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/pom.xml -------------------------------------------------------------------------------- /data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/ClassesDAO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/ClassesDAO.java -------------------------------------------------------------------------------- /data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/InstructorsDAO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/InstructorsDAO.java -------------------------------------------------------------------------------- /data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/StudentsDAO.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/StudentsDAO.java -------------------------------------------------------------------------------- /data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/impl/BaseDAOImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/impl/BaseDAOImpl.java -------------------------------------------------------------------------------- /data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/impl/ClassesDAOImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/impl/ClassesDAOImpl.java -------------------------------------------------------------------------------- /data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/impl/InstructorsDAOImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/impl/InstructorsDAOImpl.java -------------------------------------------------------------------------------- /data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/impl/StudentDAOImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/main/java/br/com/hhc/sample/fullstackspringhibernate/database/data/dao/impl/StudentDAOImpl.java -------------------------------------------------------------------------------- /data/src/main/resources/properties/database.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/main/resources/properties/database.properties -------------------------------------------------------------------------------- /data/src/main/resources/spring/fullstackspringhibernate-data-spring-datasource-binding.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/main/resources/spring/fullstackspringhibernate-data-spring-datasource-binding.xml -------------------------------------------------------------------------------- /data/src/main/resources/spring/fullstackspringhibernate-data-spring-hibernate-binding.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/main/resources/spring/fullstackspringhibernate-data-spring-hibernate-binding.xml -------------------------------------------------------------------------------- /data/src/main/resources/spring/fullstackspringhibernate-data-spring-root.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/main/resources/spring/fullstackspringhibernate-data-spring-root.xml -------------------------------------------------------------------------------- /data/src/test/java/br/com/hhc/samples/fullstackspringhibernate/data/AbstractDataTestSuite.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/test/java/br/com/hhc/samples/fullstackspringhibernate/data/AbstractDataTestSuite.java -------------------------------------------------------------------------------- /data/src/test/java/br/com/hhc/samples/fullstackspringhibernate/data/StudentsDAOTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/test/java/br/com/hhc/samples/fullstackspringhibernate/data/StudentsDAOTest.java -------------------------------------------------------------------------------- /data/src/test/resources/spring/fullstackspringhibernate-spring-dataRoot-test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/data/src/test/resources/spring/fullstackspringhibernate-spring-dataRoot-test.xml -------------------------------------------------------------------------------- /parent/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/parent/pom.xml -------------------------------------------------------------------------------- /webservice/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/pom.xml -------------------------------------------------------------------------------- /webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/BaseController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/BaseController.java -------------------------------------------------------------------------------- /webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/services/LoginLogOutServiceController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/services/LoginLogOutServiceController.java -------------------------------------------------------------------------------- /webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/views/ClassesViewController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/views/ClassesViewController.java -------------------------------------------------------------------------------- /webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/views/HomeViewController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/views/HomeViewController.java -------------------------------------------------------------------------------- /webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/views/InstructorsViewController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/views/InstructorsViewController.java -------------------------------------------------------------------------------- /webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/views/LoginViewController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/views/LoginViewController.java -------------------------------------------------------------------------------- /webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/views/StudentsViewController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/java/br/com/hhc/sample/fullstackspringhibernate/web/controller/views/StudentsViewController.java -------------------------------------------------------------------------------- /webservice/src/main/resources/properties/cache-config.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/resources/properties/cache-config.properties -------------------------------------------------------------------------------- /webservice/src/main/resources/properties/configuration.properties: -------------------------------------------------------------------------------- 1 | config.environmentId=1 -------------------------------------------------------------------------------- /webservice/src/main/resources/properties/log4j2.fullstackspringhibernate-webservice.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/resources/properties/log4j2.fullstackspringhibernate-webservice.xml -------------------------------------------------------------------------------- /webservice/src/main/resources/spring/spring-root.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/resources/spring/spring-root.xml -------------------------------------------------------------------------------- /webservice/src/main/resources/spring/spring-security.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/resources/spring/spring-security.xml -------------------------------------------------------------------------------- /webservice/src/main/resources/spring/spring-web-root.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/resources/spring/spring-web-root.xml -------------------------------------------------------------------------------- /webservice/src/main/webapp/WEB-INF/ftl/classes/home.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/webapp/WEB-INF/ftl/classes/home.ftl -------------------------------------------------------------------------------- /webservice/src/main/webapp/WEB-INF/ftl/home.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/webapp/WEB-INF/ftl/home.ftl -------------------------------------------------------------------------------- /webservice/src/main/webapp/WEB-INF/ftl/instructors/home.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/webapp/WEB-INF/ftl/instructors/home.ftl -------------------------------------------------------------------------------- /webservice/src/main/webapp/WEB-INF/ftl/login.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/webapp/WEB-INF/ftl/login.ftl -------------------------------------------------------------------------------- /webservice/src/main/webapp/WEB-INF/ftl/logout.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/webapp/WEB-INF/ftl/logout.ftl -------------------------------------------------------------------------------- /webservice/src/main/webapp/WEB-INF/ftl/students/home.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/webapp/WEB-INF/ftl/students/home.ftl -------------------------------------------------------------------------------- /webservice/src/main/webapp/WEB-INF/static/img/blackline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/webapp/WEB-INF/static/img/blackline.png -------------------------------------------------------------------------------- /webservice/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/webapp/WEB-INF/web.xml -------------------------------------------------------------------------------- /webservice/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/herlanijunior/sample-java-spring-genericdao/HEAD/webservice/src/main/webapp/index.jsp --------------------------------------------------------------------------------