what is the need of a jar file? How a java application is distributed?
January 5, 2010 at 11:26 AM
The Jar files allows to create a group of multiple java files into single archive file. It is much easier to distribute and import the API using one jar file than writing an API of large number of files and managing directories of java files. Each jar file contains Java packages that provide specific functions. You can reduce the amount of required storage space by using only the jar files required to enable the specific functions that you want. A Java application can be distributed as a single jar and run from the command line.