The document provides steps to create a Java SE application using Hibernate and Maven. It describes creating a Maven project, configuring dependencies and Hibernate, bootstrapping Hibernate, creating POJOs and testing auto table creation, implementing a DAO layer to insert records, and testing the full application.
The document provides steps to create a Java SE application using Hibernate and Maven. It describes creating a Maven project, configuring dependencies and Hibernate, bootstrapping Hibernate, creating POJOs and testing auto table creation, implementing a DAO layer to insert records, and testing the full application.
The document provides steps to create a Java SE application using Hibernate and Maven. It describes creating a Maven project, configuring dependencies and Hibernate, bootstrapping Hibernate, creating POJOs and testing auto table creation, implementing a DAO layer to insert records, and testing the full application.
The document provides steps to create a Java SE application using Hibernate and Maven. It describes creating a Maven project, configuring dependencies and Hibernate, bootstrapping Hibernate, creating POJOs and testing auto table creation, implementing a DAO layer to insert records, and testing the full application.
8. Run this as "java application" , check console to see ,
sf created & hib booted .
Above confirms bootstrapping of hibernate framework.
9. Create a POJO n test auto table creation
9.2 Add <mapping> entry per POJO in hibernate.cfg.xml
Run TestHibernate to confirm auto table creation. 10. Create Hibernate based DAO layer , to insert a record. 10.1 DAO layer i/f String registerUser(User user); 10.2 Hibenrate based DAO implementation class no data mebers, no constr,no clean up CRUD method
11. Create a main(...) based tester to test entire application , for user registration.