This is a JavaServer Faces web application example.
- Company: welcome page
- Show departments: table view of the company's departments and links to its employees
- Edit the existing department: edit and update the information about a department
- Add a new department: add a new department to the company
- Delete the department: delete the existing department (with its employees) from the company
- Show employees: table view of selected department employees
- Edit the existing employee: update and edit the information about an employee
- Add a new employee: add a new employee to the department
- Delete the employee: delete an employee from the department
The application uses the build automation tool Apache Maven 3.
The application was tested with web servers Tomcat 9 and Jetty 9.
The application URL: http://localhost:8080/kp_hibernate02/.
The application runs test cases for JUnit 4.
The application uses MySQL 5.7 relational database for data storage.
The application uses standard java loggers.
The Persistence Layer is based on Hibernate 5 and MySQL database.
It uses Hibernate Annotations and Hibernate EntityManager.
Hibernate EntityManager implements the programming interfaces and lifecycle rules as defined by the JPA 2.1 specification.
The database connection pool is configured with library C3P0.
The application uses JavaServer Faces 2.2 web application framework and Facelets (JSF View Definition Framework).
- Location-based breadcrumb website navigation
- Templates with Facelets templating framework
- Composition components with Facelets tag library
Welcome page of the application. Overview of the company.
Editing the existing department.
Listing all employees of the selected department.
Editing the existing employee.