Create the Deployment-Ready Archive
Finally, create an archive that includes your application and its manifest.json
file, if present, at the root. Use a zip
or tar
utility.
You don’t need to include a Java EE web application in a .zip
, .tgz
, or .tar.gz
file unless you need to set values in the manifest.json
file, which is optional for this application type.
Don’t include deployment.json
in your compressed archive.
For example, create an archive called myapp.zip
using zip
.
zip myapp.zip manifest.json myapp.jar
Here’s an example using tar
command.
tar cvfz myapp.tgz manifest.json myapp.jar