Hibernate configuration/connection ; represent implementation : retrieve a User from DB and parse it in JSON