Implement using Jersey and REST