简体   繁体   中英

What is a good compression API for Web calls

We are in the process of implementing a RESTful Web Services layer (in JAX-RS/Jersey) to handle calls from Excel to our Java back end

The data coming back to Excel is generally quite verbose, containing potentially thousands of numeric data points.

We would like to compress this and have the Excel .Net layer (or theoretically any other clients) decompress it. For extra credit, it would be nice if Excel could also compress the requests and decompress on the server.

We have heard good things and bad about Protocol Buffers but that is more a serialization technology than a compression technology

Are there any recommended text based compression technologies that we should be considering to communicate back and forth between Excel and Java?

You can use HTTP Compression with Apache Axis. This is a huge performance boost. For more information please refer to the link mentioned below.

http://www.tgerm.com/2010/11/http-compression-with-apache-axis-huge.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM