I have been a bit confused on how best to go about this.
The thing: I'm creating a j2me mobile app that will send compressed data via HTTP to a web server, which then will uncompress the request, fetch the data, compress it and send back to client.
One similar solution to this is: T-Booster
The Problem: I'm confused on how to send a compressed http request from the client app, what technology to use for the server and how best to go about implementing it. Assuming the server is handing thousands of requests at a time, what will be the effect on the whole application?
Comments are well appreciated. Thanks.
I am not a J2ME developer but wanted to share my view as a Java developer. If you are communicating with your webserver then i am guessing that you will be calling a webservice(SOAP or REST). I did something similar with webservice for SOAP to compress the communication some time back. Here is what i followed. http://www.predic8.com/soap-compression-howto.htm
Approach I: Top Criteria's: Compression, Security and Architectural design freedom
The perceivable best way to achieve data compression is to create custom language that is understandable by the mobile client and its server only. You can add next level compression to it by using
GZIP
/LZW
or any other compression algorithm.Pros:
Cons:
Example: In this link Opera Mini read section on Functionality.
.
Approach II: Top Criteria: Strict project timelines
For quick disbursement of the project use 3rd party compressors like GZIP and industry standard webservice content exchange formats like SOAP and JSON.
Pros:
Cons:
Example: http://developers.sun.com/mobility/apis/articles/wsa/
.
Edit: Some very useful links