hivernate and servlate example