GZIP -just like ZIP- is a compression and decompression method. Both work fine for TARs if you do it right. TAR itself is not compressed, just archived. The Commons Compress library (
http://commons.apache.org/compress/) has everything you need to make working with TARs as easy as working with ZIP/GZIP.