Chapter 16. Packaging Programs in JAR Files

THIS chapter and the two following chapters discuss deploying your Java applications and applets.

Java versions 1.4.2, 1.5.0, and 1.6.0 bundle two deployment technologies:

  • Java Web Start, for deploying Java applications

  • Java Plug-in, for deploying Java applets

We recommend using Java Plug-in to deploy applets when you want your application to run within a browser, or when the application is tightly integrated with Web page content.

We recommend using Java Web Start when you want your application to run stand-alone, on your users’ desktops.

Java Web Start requires that applications be packed in JAR files, which is covered in this chapter.

The Java Archive (JAR) file format enables you to bundle multiple files ...

Get The Java™ Tutorial Fourth Edition: A Short Course on the Basics now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.