• Post Reply Bookmark Topic Watch Topic
  • New Topic

Amazon web services using REST API or SDK?

 
Tushar Goel
Ranch Hand
Posts: 931
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We received new requirement for provide file putting and getting support on amazon s3 using REST web services. I have checked on internet that there are
2 ways to access it.. using REST API or using SDK. I google little bit and it tell me that SDK is easy to use.

Any suggestion, which one to use so that i can give input to my boss?
 
Karthik Shiraly
Bartender
Posts: 1210
25
Android C++ Java Linux PHP Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The client library that comes with the SDK is an intelligent HTTP client that connects to the exact same REST API endpoints that you'd connect to if you don't use the SDK.
In addition, it gives you many benefits like automatic XML conversion to java objects, multithreaded uploads, thread safe model objects, transparent authentication, conversion of HTTP error codes to meaningful java exceptions - those are the ones I can think of.
In other words, the stuff you'll have to write yourself anyway if you go for raw REST API. Just use the library and save yourself a lot of development, testing and maintenance effort.
 
Karthik Shiraly
Bartender
Posts: 1210
25
Android C++ Java Linux PHP Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll move this to the more appropriate Web Services forum.
 
Tushar Goel
Ranch Hand
Posts: 931
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Karthik..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!