I am new to Servlets.
Please, tell me about this line, and its use in the Jersey Framework + RESTful web services.
PrintWriter out = response.getWriter();
In servlets the output can be either character or byte. for character data (i.e text) u can use PrintWriter for others use ServletOutputStream
PrintWriter: prints text data to a character stream.
getWriter :Returns a PrintWriter object that can send character text to the client.