什么是用于移动应用程序的最佳远程处理技术? [英] What are the best remoting technologies for mobile applications?

查看:90
本文介绍了什么是用于移动应用程序的最佳远程处理技术?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Java后端,需要向在以下环境中运行的客户端公开服务:

I have a java back-end that needs to expose services to clients running in the following environments :

  • J2ME
  • Windows Mobile
  • iPhone

我正在寻找适用于每个平台的最佳工具.
我搜索的技术并非无处不在.
我需要一些适合低速互联网访问的轻型"设备.

I am looking for the best tool for each platform.
I do not search a technology that works everywhere.
I need something "light" adapted to low speed internet access.

现在我正在使用SOAP.它很冗长,而且不容易在移动设备上解析.问题是我还没有真正的替代品.

Right now I am using SOAP. It is verbose and not easy to parse on the mobile. The problem is that I have not seen any real alternative.

在这些平台之一中是否有一种开箱即用"的格式?
我宁愿不使用会大大增加应用程序下载时间的time肿库.

Is there a format that works "out of the box" with one of these platforms ?
I would rather not use a bloated library that will increase tremendously the download time of the application.

每个人似乎都同意JSON.是否有人实现了基于JSON并与Objective-C,J2ME,Windows Mobile一起运行的解决方案?

Everybody seems to agree on JSON. Does anyone has implemented a solution based on JSON running with Objective-C, J2ME, Windows Mobile ?

注意:到目前为止,最好的解决方案似乎是黑森州.它在Windows Mobile和Objective-C/iPhone上运行良好.最大的问题是J2ME. Hessian的J2ME实现具有严重的局限性.它不支持复杂的对象.我已经写了另一个问题.

Note : so far the best solution seems to be Hessian. It works well on Windows Mobile and Objective-C/iPhone . The big problem is J2ME. The J2ME implementation of Hessian has serious limitations. It does not support complex objects. I had written another question about it.

如果您有任何想法,我们将非常欢迎.

If you have any ideas, there are very welcome.

推荐答案

黑森州. http://hessian.caucho.com .多种语言(包括ObjC)的实现,超轻量级并且不需要依赖dom/xml解析器来实现从线到对象模型的转换.一旦找到Hessian,我们就忘记了我们曾经了解过XML.

Hessian. http://hessian.caucho.com. Implementations in multiple languages (including ObjC), super light weight, and doesn't require reliance on dom/xml parsers for translation from wire to object models. Once we found Hessian, we forgot we ever knew XML.

这篇关于什么是用于移动应用程序的最佳远程处理技术?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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