stub in a jersey resource