Trying out RESTful Web Services in Java