Java – what is the best remote technology for mobile applications?
I have a Java backend that needs to expose services to clients running in the following environments:
> J2ME > Windows Mobile > iPhone
I am looking for the best tools for each platform I won't search for technology that works everywhere I need some "light" suitable for low-speed Internet access
Now I'm using soap It is lengthy and not easy to parse on mobile devices The problem is that I don't see any real alternatives
Is there a format "out of the box" with one of these platforms? I prefer not to use bloated libraries, which will greatly increase the download time of applications
Everyone seems to agree with JSON Has anyone implemented a solution based on JSON running Objective-C, J2ME and windows mobile?
Note: by far, the best solution seems to be Hessian It works for Windows Mobile and Objective-C / iPhone The biggest problem is J2ME Hessian's J2ME implementation has serious limitations It does not support complex objects I wrote another question about it
If you have any idea, you are welcome
Solution
Hesse http://hessian.caucho.com. The implementation of multiple languages (including objc) is ultra lightweight, and does not need to rely on DOM / XML parser to convert from wired model to object model Once we found Hessian, we forgot that we knew XML