Meaning Of Java Archive
There are two key benefits of using a jar file.
Meaning of java archive. The file has two important characteristics. The archive s filename must have the jar extension. It is usually a single compressed file mostly used for supplying the necessary java libraries and application software on a java programming platform.
A java archive file commonly referred to as a jar file is nothing more than a compressed archive file. All published articles are simple and easy to understand and well tested in our development environment. The archive does not have to be compressed but if it is the zip compression algorithm is used.
An enterprise archive file ear is a java archive jar file format used to package modules as single archive files to ensure the coherent deployment of different modules to application servers. Ant maven or gradle can be used to build ear files. File compression tools often called file archivers like 7 zip and peazip are able to compress one or more files and or folders to a single file with just one file extension.
It also contains xml files called deployment descriptors which describe how to deploy the modules. A java archive or jar file contains all of the various components that make up a self contained executable java application deployable java applet or most commonly a java library to which any java runtime environment can link. Jar files are archive files that include a java specific manifest file they are built on the zip format and typically have a jar file extension.
A file archive might sound identical to an archive file but there is a notable difference regardless of how you write the term. The jar file format is similar to the tape archive. Ear uses enclosed extensible markup language xml files or deployment descriptors to describe module deployment.