O'Reilly logo

EJB 3.1 Cookbook by Richard M. Reese

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding an application's JAR files using the jar command

The EAR file is a top level JAR file and holds other JAR files. This packaging provides a single JAR file to simplify the deployment process. The use and organization of this JAR and those for EJB and WEB modules is explained in this recipe using the Java JDK jar command. While this command is more often used to create a JAR file, it can also be used to examine the structure of an existing JAR file. Upon the creation of a JAR file is it good to be able to verify its contents when a deployment tool performs other than as expected.

Getting ready

There are several different types of files used in the deployment of an application. The following table lists these files along with the internal ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required