My question actually is in the title.
I am developing an Android application which populates a distant mysql database (in an amazon cloud server).
Why not using the same techniques used in java programs (like using a import java.sql.Connection object)?
Thank you, R.
There are Tons of benefits in REST , few are below
You can use standard HTTP method call-outs, available on every language and platform, to make requests and retrieve information
Standards-based security: Utilize the OAuth protocol for authenticating your REST calls
Flexible formats: The REST API supports both an XML serialization as well as the JSON format