- JAR (
Java ARchive
) files have a.jar
extension - They contains multiple
.class
files, resources and metadata all compressed into a single executable file - You mention the first file that you want to call upon execution in the
MAIFEST.MF
file within the JAR - The
META-INF/MANIFEST.MF
holds the metadata, including,- package info of different files
- security properties of different files
- JARs can be easily distributed around and used