working version with hibernate and dao and service, without localization