How to consume RESTful web service in my JSF project?
Posted
by Nitesh Panchal
on Stack Overflow
See other posts from Stack Overflow
or by Nitesh Panchal
Published on 2010-06-06T12:05:24Z
Indexed on
2010/06/06
12:12 UTC
Read the original article
Hit count: 468
Hello,
As RESTful web services is url based and is not a object, we can't call methods on it. I have a simple web service with only one method in it with is @GET
. 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 i not consume it in my managed bean?
If the only way to consume the webservice is through javascript, can anybody here give me details of how to consume it through JQuery?
Thanks in advance :)
© Stack Overflow or respective owner