Bullet
Bullet
A JAR file has a manifest file situated in the path META-INF/MANIFEST.MF. The entries in the manifest file conclude how the JAR file will be used. JAR files which are intended to be executed as separate programs will have one of their classes specified as the "main" class. The obvious file would have an entry such as
Main-Class: myPrograms.MyClass
Such JAR files are characteristically started with a command similar to
java -jar foo.jar
JAR
* WAR (file format) (Web Application aRchive) files are also Java archives which store XML files, java classes, Java Server Pages and extra objects for Web Applications.
* EAR (file format) (Enterprise ARchive) files are also Java archives which store XML files, java classes and additional objects for Enterprise Applications.
* RAR (file format) (Resource Adapter aRchive) files are also Java archives which store XML files, java classes and added objects for J2EE Connector Architecture (JCA) applications.
JAR files can be created and extracted by the "jar" command that comes with the JDK. It can be done using zip tools, but as WinZip has a custom of renaming all-uppercase directories and files in lower case, this can raise support calls with whoever shaped the JAR or the tool authors themselves. WinRAR, on the additional hand, retains the original case of filenames.
Grape