title: Java RESTful services - What is the difference between QueryParam and PathParam in terms of their usage?
body: <p>What is the difference between QueryParam and PathParam in terms of their usage? </p>
  
  <p>I understand that data can be passed to service using both of them. PathParam is the data preceeding ? in the URL and QueryParam are name value data after ?. But I wonder how exactly these are used. </p>