Comments
|
Posted By Christian Louboutin On 10-Jun-10 08:10:52 AM
Great sharing this.
|
|
Posted By Zidane07 On 14-Sep-10 02:20:33 PM
This tutorial is a good introduction about JSON via RESTful.
I have tried this code and it works on IE, but my FireBug on FireFox
is indicate that an error is occurred on eval function.
|
|
Posted By Rainer Telesko On 27-Mar-11 04:01:12 AM
Hi,
the example looks very fine. However it does not work for me. Do you specify a resource package in Netbeans? Well, I don't know how to specify the resource package.
When I invoke the web page, I get a 404. I use Glassfish instead of Apache, but this should be no problem. I appreciate your help!
Rainer
|
|
Posted By mathew On 05-Jun-11 04:12:44 PM
Could you please pass on the steps required to integrate the above example on Eclipse?
|
|
Posted By Sasa Jovancic On 10-Jun-11 01:35:22 AM
Excellent post. I faced similar problem to use REST service from javascript, but i worked on creating small client with jquery
http://sasajovancic.blogspot.com/2011/06/javascript-rest-client.html
|
|
Posted By gsi On 26-Jul-11 03:29:16 PM
Hi, This is introduction post. But as i have a array of values from JAXB as JSON output. My javascript fail to recognize the output and comes as blank JSON string.
Any help in setting up JAXB or JSON properties
Thanks
|
|
Posted By Raja On 10-Aug-11 11:46:00 PM
Excellent posting.
|
|
Posted By kirti On 19-Oct-11 12:16:03 PM
thank u sooooo much
|
|
Posted By geetha1 On 21-Oct-11 05:47:03 PM
Thanks a lot
the code helped me a lot
can i get code for Post Request instead of get
|
|
Posted By Michael On 10-Jan-12 02:50:46 PM
hi, can you give me an server and client example when the client isn't in the same domain (eg. call a rest web service from stand-alone html file)? thanks a lot.. :)
|
|
Posted By sana On 13-Mar-12 05:18:54 PM
It's not bad
|
|
Posted By Bia On 14-Mar-12 12:44:07 PM
Hi, can you give me an example in which data is fetched from server in jsonArray. thanks..:)
|
|
Posted By Moe On 28-May-12 08:36:14 PM
NOT working for me.
|
|
Posted By Prem Kumar On 05-Sep-12 10:03:09 AM
Thanks for providing simple and straight forward example to start with REST development. I was able to call the service from java.
Can you provide a sample where we can pass multiple values.
|
|
Posted By jarmod On 07-Oct-12 11:50:09 PM
Had to make some changes to get this to work:
@Path("employee")
public class EmployeeResource {
...
@GET
@Path("{empno}")
@Produces("application/json")
public String getJson(@PathParam("empno") int empno) {
and then invoke by:
http://localhost:8084/restdemo/resources/demo/2
|
|
Posted By jarmod On 08-Oct-12 12:09:13 AM
I'm guessing that the 'Converter' servlet mapping in your web.xml extract is incorrect.
|
|
Posted By vinod On 11-Oct-12 06:43:40 PM
Nice post..
|
|
Posted By vinoth On 10-Dec-12 10:10:24 AM
very excellent tutor , very simple. thanks a lot lot
Regards
vino
|
|
Posted By Jaime On 10-Feb-13 04:59:11 PM
Instead of using 'xmlhttp' which has cross browser issues, use my jQuery plugin to simplify both usage and REST API definition: https://github.com/jpillora/jquery.rest#basic-usage
|
|
Posted By suhas On 30-Apr-13 03:14:10 PM
nice.
|
|
Posted By Vikash On 06-May-13 12:40:27 PM
Excellent Demo ........
|
|
Posted By vishal On 17-Jun-13 04:51:33 PM
good and very helpful
|
|
Posted By Sudha On 06-Sep-13 03:57:55 PM
I want to know how can i use an object,which is returned from GET method in restful service.And Please send me more examples in GET,POST and PUT methods.
Thanks in advance.
|
|
Posted By Sahil Bawa On 21-Nov-13 09:19:25 AM
Helped a lot in my final year project! Thanks a lot!
p.s. Your name goes to the reference page. ;)
|
|
Posted By Tanaji Bhale On 30-Jan-14 07:42:59 PM
nice explanation....
@ it is simple to call service in javascript rather from servlet ,bcoz in servlet event handling become complicated...
|
|
Posted By Neha Lad On 11-Feb-14 12:36:12 PM
Hi This is a good example
Please can you give example for other methods.
Which is very simple in understanding
|
|
Posted By TUNISIE On 02-May-14 07:40:58 PM
thnks boss
|
|
Posted By dada On 02-May-14 10:25:42 PM
nice work done...we can also look at http://www.morgantechspace.com/2014/04/Call-WebsService-from-JavaScript-with-and-without-jquery.html
|
|
Posted By suresh On 01-Apr-15 04:39:03 PM
thank u
|
|
Posted By Mallikarjun On 01-Aug-15 08:44:47 AM
Hi.,
Given Good Post,
Will u provide one Example on
Javascript <--> Spring MVC <--> Rest
Thank U
|
|
Posted By mani On 28-Dec-16 05:09:52 PM
nice
|
|
Posted By James Zicrov On 03-Aug-19 06:42:02 PM
I think there is a need to look out for some more important aspects of SQL and REST API.Since REST API is a software architectural style that defines a set of constraints to be used for creating Web services.https://zappysys.com/blog/import-rest-api-json-sql-server/
|