Working jersey + hibernate configuration