PointOfSale hibernate spring jsf sample implementation