简体   繁体   中英

Web Service as an intermediate between an Android client and a MySQL server database

I am developing an Android client to connect to a database (in my case MySQL server). The nice approach is using a Web Serive between them.

I found some nice reason for it here : Best way to access a remote database: via webservice or direct DB-access?

Elad wrote nice reasons such as complexity and security around this approach. Can you give me some new advice around these approaches and let me know about the source of your ideas, since Elad did not provide any source.

The simplest reason is that a JDBC connection needs to be stable. And mobile connections are not stable enough. Thus using an intermediate web service is a good option. Providing a rest service around some database will provide you with a secure, stable, standard way to access your data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM