Packager Tool
The packager tool is a command-line script that enables you to package J2EE components. This tool is for advanced users who do not want to use deploytool to package J2EE components. With packager, you can create the following component packages:
EJB JAR file
Web application WAR file
Application client JAR file
J2EE application EAR file
Resource adapter RAR file
The packager tool also enables you to set the runtime deployment information of an application EAR file.
Note
To make them easier to read, the examples that follow contain line breaks within the commands. When typing these commands, do not include the line breaks.
EJB JAR File
Syntax
packager -ejbJar <root-directory> <file-list> <ejb-dd> <ejb-jar>
Example
The following ...
Get J2EE™ Tutorial, The 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.