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.
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.
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.
Everybody seems to agree on JSON. Does anyone has implemented a solution based on JSON running with Objective-C, J2ME, Windows Mobile ?
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.