1.For each file to add to the archive, you must call putNextEntry( ) and pass it a ZipEntry object. The ZipEntry object contains an extensive interface that allows you to get and set all the data available on that particular entry in your Zip file: name, compressed and uncompressed sizes, date, CRC checksum, extra field data, comment, compression method, and whether it's a directory entry.
2.the Zip format has a way to set a password, this is not supported in Java's Zip library. And although CheckedInputStream and CheckedOutputStream support both Adler32 and CRC32 checksums, the ZipEntry class supports only an interface for CRC.
3.The jar tool isn't as general-purpose as a Zip utility.a JAR file created on one platform will be transparently readable by the jar tool on any other platform.
4.It would be incredibly useful if an object could exist and hold its information even while the program wasn't running.Java's object serialization allows you to take any object that implements the Serializable interface and turn it into a sequence of bytes that can later be fully restored to regenerate the original object.
5.The serialization mechanism automatically compensates for differences in operating systems.That is, you can create an object on a Windows machine, serialize it, and send it across the network to a Unix machine, where it will be correctly reconstructed.
6.The serialization mechanism is lightweight,because you can't simply define an object using some kind of "persistent" keyword and let the system take care of the details.While, If you need a more serious persistence mechanism, consider a tool like Hibernate.
7.Object serialization was added to the language to support two major features. First, it's for Java's Remote Method Invocation (RMI).Object serialization is also necessary for JavaBeans.
8.particularly clever aspect of object serialization is that it not only saves an image of your object, but it also follows all the references contained in your object and saves those objects, and follows all the references in each of those objects.