This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
BufferedWriter and ByteArray
need help understanding sessions
Applet-Servlet - objectOutputStream size limit??
Converting Zip file to bytearray and vice versa
Filter and applet communication