How would you consume a RESTful API using Java with probably just the standard packages? For ex: Twitter API. I know there are great Java libraries to access it, but how would you start from scratch?
+1
A:
Well, there are many ways you could access RESTful API using Java third party libraries, like using Apache Http Client or using Sun Jersey API.
You could also use the native java.net.HttpURLConnection to consume REST Services
James Khoo
2010-07-16 05:47:41
+1
A:
Spring 3's MVC can handle REST. Take a look at this blog entry for an idea of how it works.
Noel M
2010-07-16 08:02:16