This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Zip Streams
 
It's not a secret anymore!