Learn Rest service for Java
Learn REST: A Tutorial: 12.2. Using REST in Java
jersey.java.net/