aspose file tools*
The moose likes Web Services and the fly likes REST based Web Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "REST based Web Service" Watch "REST based Web Service" New topic
Author

REST based Web Service

Rajkumar balakrishnan
Ranch Hand

Joined: May 29, 2008
Posts: 445

Hi ranchers,

I need to learn REST based Web Service to work with Spring. Will someone please provide me some link for some good starters for that. I've read a couple of it and didn't quite get it.


Never try to be a hard-worker. Be a smart-worker.
My Blog
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Which web service stack do you want to use?
Apache CXF can do RESTful web services and works well with Spring. In fact, Spring is used internally in Apache CXF: http://cxf.apache.org/
RESTlet is a small and flexible framework for developing RESTful web services. Works very well with Spring: http://www.restlet.org/
Jersey, the JAX-RS reference implementation, also has Spring integration: https://jersey.dev.java.net/
JBoss RESTEasy also has Spring integration: http://www.jboss.org/resteasy

For the sake of simplicity, I would advice you to take a look at RESTlet. There are tutorials and documentation on their webpage.
With RESTlet you can develop stand-alone RESTful web services that does not need any container to run. The others may also be able to do this, but I have only done it with RESTlet.
Best wishes!
Rajkumar balakrishnan
Ranch Hand

Joined: May 29, 2008
Posts: 445

^^

As you say, for the sake of simplicity, i choose RESTlet. Thanks a ton for the information Ivan.
 
Consider Paul's rocket mass heater.
 
subject: REST based Web Service