1065: Mainline
The Java JAR file has an unfortunate name,
inasmuch as archiving is but one of several reasons why you should gather
together all your application files into a JAR file. Other reasons include
the following:
- JAR files simplify program distribution. You have only one file to move
about, rather than a whole directory, or directory hierarchy, full of files.
- JAR files save space and time. You have only one compressed JAR file to
store or to ship over the web.
- JAR files provide version management. Each time you reach a stable
point in your program, you can create a JAR file.
- JAR files enable security. You can add a digital signature to a JAR
file that lessens the chance that a manipulated version will get into
the hands of an innocent user.