views:

284

answers:

1

Does anyone know of a client implementation for the S3 REST API that will work on J2ME? All the implementations I can find is only targeted for J2SE.

I do not want to use the SOAP API, because I think REST will be faster (partly because you don't need to BASE64 encode the payload).

Edit: Part of the problem seems to be that J2ME does not have a complete HTTP client implementation. The built in classes only support GET and limited POST. It is possible to open a SocketConnection to the S3 server and manually send "raw" HTTP requests, but opening a SocketConnection in J2ME is only possible for "trusted" code (ie requires that your Midlet be signed by a trusted root CA).

A: 

Why not try this out? I haven't used it myself but it has claims in the description ;)

http://developer.amazonwebservices.com/connect/entry.jspa?externalID=816&categoryID=47

Tyler Szabo