Learn restful web service using java