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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.