Your daily dose of Java and related technologies.
News, Releases, Reviews, Tutorials, Articles, Events, Contests, Comments, Code and much more.
This java weblog is maintained by Xyling Technologies, making life simpler.

Tuesday, April 12, 2005

GZip Library for J2ME

The J2ME app frequently retrieves a bulk of data (delimited text) from the server. This works fine, except that this incurs transfer cost ($/byte transferred) and time (sec/byte transferred). Overtime, it can be really expensive. The solution could be

- compress the data at the server side,
- transfer it compressed (to the client/phone), and
- decompress it

Problems: java.util.jar and java.util.zip just aren't available on J2ME platform.

Solution: Title of this post.

TinyLine GZIPInputStream is a pure J2ME implementation of the Java 2 java.util.zip.GZIPInputStream class that uses the same API. The size of the class in the JAR format is about 6K.

Kudos and Many Thanks to TinyLine.

[Resource-Type: Library; Category: Java/J2ME; XRating: 5]
PS: Please do share any other data compression libraries commercial/non-commercial in the comments section. Thank You.

3 Comments:

Blogger Xyling Technologies said...

I found another one :)

http://www.java4ever.com/index.php?section=j2me&project=apime&menu=download&lang=en

6:40 AM

 
Anonymous Marcin Zduniak said...

Alternative app to consider during planning software phase is reachable from here: http://www.deep-shadows.com/hax/ReadManiac.htm

12:10 PM

 
Anonymous Anonymous said...

And here is a publication (in polish language unfortunately, but sources are in english) with example showing how to use Tinyline GZIP: http://www.j2me.pl/?p=32

1:55 PM

 

Post a Comment

<< Home