title: How to consume RESTful web service in my JSF project?
body: <p>As RESTful web services are url based aren't objects, we can't call methods on them. I have a simple web service with only one method in it with is <code>@GET</code>. I saw one screencast and it used some javascript library to consume the web service. But, how do I use it with my JSF project? I can't even inject it like a normal web service. Please help. I am new to REST. Can't I consume it in my managed bean?</p>
  
  <p>If the only way to consume the webservice is through javascript, can anybody here give me details of how to consume it through JQuery?</p>
  
  <p>Thanks in advance :)</p>