Android的客户端卡桑德拉例如 [英] Android cassandra client example

查看:95
本文介绍了Android的客户端卡桑德拉例如的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要更新Android应用跟一个卡桑德拉数据库。任何人都可以点我一个例子或库来支持呢?

I need to update an Android app to talk to a Cassandra database. Can anybody point me to an example or libraries to support this?

推荐答案

通常情况下,你会不会直接这样做。您应该制定适当的API(可能是一个Web服务,REST风格的或其他方式)或移动网站。然后,您的Web服务/网站将Android应用程序和卡桑德拉之间坐。您可以使用您所选择的服务器端语言和框架。

Normally, you will not do this directly. You should develop an appropriate API (probably a web service, RESTful or otherwise) or mobile web site. Then, your web service/site will sit between the Android app and Cassandra. You can use the server-side language and framework of your choice.

修改:一个好的方法来尝试与 JAX一个RESTful API -RS

EDIT: A good approach to try is a RESTFUL API with JAX-RS.

这篇关于Android的客户端卡桑德拉例如的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆