Structs2+Hibernate  implementation of swe642-homework4