adding JaxRs implementation