Friday, March 12, 2010

Getting started with RESTful Service

This week was web services week. I got down and dirty with RESTful web services. To do this I had a look at some of the tutorials on the web. I found a lot of them really over complicated the matter. Then I came across Apache Wink - http://incubator.apache.org/wink/. Wink seemed to have a very simple approach to the development of REST services. Any servlet container can provide for a REST service with Wink all that is required is a few java annotations specifying the URI of the service and the methods to call with each, GET, POST, DELETE and UPDATE event over HTTP. I also found this very simple tutorial from IBM that gets you up and running with Wink and REST services in no time - http://www.ibm.com/developerworks/web/library/wa-apachewink1/?ca=drs-.

No comments: