java.net: Wiki

The Source for Java Technology Collaboration


 <<O>>  Difference Topic JAR (6 - 01 Apr 2005 - Main.sullis)
Line: 1 to 1
 
META TOPICPARENT name="JavaWebStart"
Home | Help | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->

JAR
<-- this automatically adds a header showing the name of this page -->

JAR is an acronym for Java Archive. It typically contains Java class files and a manifest which provides meta-information. Jar files are the standard way to distribute

Changed:
<
<
Java libraries, applets, and applications. They are compressed using zip.
>
>
Java libraries, applets, and applications. They are compressed using zip.
 The Java tutorial has information on how to use Jars.

 <<O>>  Difference Topic JAR (5 - 05 Sep 2004 - Main.sullis)
Line: 1 to 1
 
META TOPICPARENT name="JavaWebStart"
Home | Help | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->
Line: 20 to 20
 
  • Enterprise applications are distributed as EAR files.
  • Services are distributed as SAR files.
Added:
>
>
Open source utilities
 Also See

 <<O>>  Difference Topic JAR (4 - 20 Oct 2003 - Main.redwolf)
Line: 1 to 1
 
META TOPICPARENT name="JavaWebStart"
Home | Help | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->
Line: 21 to 21
 
  • Services are distributed as SAR files.

Also See

Changed:
<
<
>
>
 
<-- put two horizontal ruled lines between article and discussion of it. -->


 <<O>>  Difference Topic JAR (3 - 17 Oct 2003 - Main.redwolf)
Line: 1 to 1
 
META TOPICPARENT name="JavaWebStart"
Home | Help | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->
Line: 21 to 21
 
  • Services are distributed as SAR files.

Also See

Changed:
<
<
>
>
 
<-- put two horizontal ruled lines between article and discussion of it. -->


 <<O>>  Difference Topic JAR (2 - 28 Aug 2003 - Main.redwolf)
Line: 1 to 1
 
META TOPICPARENT name="JavaWebStart"
Home | Help | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->

JAR
<-- this automatically adds a header showing the name of this page -->

Changed:
<
<
<-- Your Javapedia article goes here. Please try to include at least one sentence describing this topic. -->
<-- Also please try to include at least one sentence describing where each link goes. -->
<-- Please make sure some other page points to your new article so that others can find it! -->
<-- For more on how to write Javapedia articles please read the WritingArticles page. -->

JAR stands for Java Archive. It contains Java class files and a manifest which provides meta-information. Jar files are the standard way to distribute Java libraries, applets, and applications. They are compressed using zip.

>
>
JAR is an acronym for Java Archive. It typically contains Java class files and a manifest which provides meta-information. Jar files are the standard way to distribute Java libraries, applets, and applications. They are compressed using zip.
 The Java tutorial has information on how to use Jars.

To create a jar file:

Changed:
<
<
  • use the jar program included in every Java JDK.
>
>
  • use the jar program included in every Java JDK.
 
  • use the jar task for Apache Ant.
  • use WinZip or any other zip compression utility.
  • use Java! The Java runtime includes powerful zip and jar tools. It is possible to create a Java program or servlet that jars classes when executed. A constructed JAR file could be useful for Applets.
Line: 25 to 20
 
  • Enterprise applications are distributed as EAR files.
  • Services are distributed as SAR files.
Added:
>
>
Also See
 
<-- put two horizontal ruled lines between article and discussion of it. -->


 <<O>>  Difference Topic JAR (1 - 21 Aug 2003 - Main.jessewilson)
Line: 1 to 1
Added:
>
>
META TOPICPARENT name="JavaWebStart"
Home | Help | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->

JAR
<-- this automatically adds a header showing the name of this page -->

<-- Your Javapedia article goes here. Please try to include at least one sentence describing this topic. -->
<-- Also please try to include at least one sentence describing where each link goes. -->
<-- Please make sure some other page points to your new article so that others can find it! -->
<-- For more on how to write Javapedia articles please read the WritingArticles page. -->

JAR stands for Java Archive. It contains Java class files and a manifest which provides meta-information. Jar files are the standard way to distribute Java libraries, applets, and applications. They are compressed using zip.

The Java tutorial has information on how to use Jars.

To create a jar file:

  • use the jar program included in every Java JDK.
  • use the jar task for Apache Ant.
  • use WinZip or any other zip compression utility.
  • use Java! The Java runtime includes powerful zip and jar tools. It is possible to create a Java program or servlet that jars classes when executed. A constructed JAR file could be useful for Applets.

Sometimes a JAR file is not appropriate for distributing a Java application. All of these formats are similar to Jar, but with a different purpose:

  • Web applications are distributed as WAR files, which include classes and servlets, JSP and HTML pages, and meta-information in XML.
  • Enterprise applications are distributed as EAR files.
  • Services are distributed as SAR files.


<-- put two horizontal ruled lines between article and discussion of it. -->

<-- anchor to allow a link to the discussion about this article -->

Discussion about JAR
<-- generate a header for the discussion part of page -->


Topic JAR . { View | Diffs r6 < r5 < r4 < r3 | More }
 XML java.net RSS