Basic HTML version of Foils prepared March 23 98

Foil 15 What is a JAR file ?

From JavaBeans and Use in ComponentWare Basic Information Track Computational Science Course CPS616 -- March 25 1998. by Nancy McCracken, Geoffrey C. Fox, Wojtek Furmanski


1 This is Java's version of a UNIX tar file and contains a variety of files including .class, image, sound, HTML pages
2 The JAR file is stored in compressed (zip) fashion and can also be signed using standard digital signature techniques.
  • Perhaps they download faster due to compression!
3 There is a "control" file called a manifest which inter alia is used to identify any JavaBean present. It also specifies message digest algorithm
4 JavaBeans must be stored in JAR files and must be identified in manifest
5 JAR files can be accessed from HTML using <APPLET> tag
  • <APPLET ARCHIVES="first.jar,second.jar" CODE="yourclass.class" WIDTH=100 HEIGHT=200 ></APPLET>
6 Java looks first in .jar files for requested class

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Nov 29 1998