Wednesday, December 12, 2007

JAR

In computing, a JAR file (or Java ARchive) file used to deal out a set of Java classes. It is used to store compiled Java classes and connected metadata that can constitute a program.

* 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.

No comments: