Extracting the Contents of the EAR To extract the contents of the EAR: Navigate to the directory containing the EAR, ear-file . On the command line, enter the following to view the contents of the EAR: jar tf ear-file On the command line, enter the following to extract the contents of the EAR: jar xf ear-file Updating and Repackaging an EAR File To update a file and repackage the contents into an EAR file: Navigate to the base directory of all the files and folders that are to be part of the EAR. On the command line, enter the following to extract the contents of the EAR: jar cf ear-file input-files For example, jar cf myear.ear *
To attain knowledge, add things everyday. To attain wisdom, remove things every day.