aspose file tools*
The moose likes I/O and Streams and the fly likes Zip Streams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Zip Streams" Watch "Zip Streams" New topic
Author

Zip Streams

Ravee Bhat
Ranch Hand

Joined: Nov 26, 1999
Posts: 72

Hi All,
Has anyone tried compressing the objects to transfer between client and server (to be specific Applet and a servlet)?
I am working on certain applet-servlet communication where I have to transfer the data (objects) between applet/servlet. I am trying to use the Zip Streams.
1. when you put a byte array and pass it to the other side is the compressed byte array travels through the stream?
2. do i need to implement Deflater/Inflater ?
3. what / how do I use the ZipEntry class?
Thanks in advance
regards
Ravee
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Zip Streams