JAR (Java ARchive) is an archive file format typically used to aggregate many Java class files and associated metadata and resources (text, images and so on) into one file to distribute application software or libraries on the Java platform.
JAR files are built on the ZIP file format and have the
Computer users can create or extract JAR files using the
An executable Java program can be packaged in a JAR file, along with any libraries the program uses.
Several related file formats build on the JAR format:
JAR files are built on the ZIP file format and have the
.jar
file extension.Computer users can create or extract JAR files using the
jar
command that comes with a JDK.An executable Java program can be packaged in a JAR file, along with any libraries the program uses.
Several related file formats build on the JAR format:
- WAR (Web application archive) files, also Java archives, store XML files, Java classes, JavaServer Pages and other objects for Web Applications.
- RAR (resource adapter archive) files (not to be confused with the RAR file format), also Java archives, store XML files, Java classes and other objects for J2EE Connector Architecture (JCA) applications.
- EAR (enterprise archive) files provide composite Java archives which combine XML files, Java classes and other objects including JAR, WAR and RAR Java archive files for Enterprise Applications.
- SAR (service archive) is similar to EAR. It provides a service.xml file and accompanying JAR files.
- APK (Android Application Package), a variant of the Java archive format, is used for Android applications
No comments:
Post a Comment