a sample spring/hibernate/mysql impl of an employee list for reference
notes (1/4):
- had issues in setting up local machine
- first commit was done in ~4 hours, including the setup. still need a few more features to implement
(2/4):
- wasn't able to complete the requirements due to lack of time (and frustration lol)
- dev time: ~3 hours
- features not implemented:
- session handling: no backend login/logout
- no user type handling
- no editing of employee info
- no computation of age and years rendered
- no multiple adding of contact and address info
- no choosing of primary info
- session handling: no backend login/logout
(3/4):
- dev time: ~2 hours
- added a login security checker via xml
- added user role handling
- admin can add, edit, delete and view employee list
- user can view employee list
(4/4):
- dev time: ~1 hour
- added edit feature for admins
- added computation for age and years rendered
sql instructions:
- employeedb.sql under src/main/resources (not integrated in deployment process)
- db config to edit: webapp/WEB-INF/spring/appServlet/servlet-context.xml
- server used: tomcat 7
- default url: http://localhost:8080/employee-list-db/