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?
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.