Enterprise applications are deployed
in the form of an EAR file. Use the Export wizard to export an enterprise
application project into an EAR file for deployment.
To export
an enterprise application project into an EAR file:
- In the J2EE perspective, click . The Export window
opens.
- Under Select an export destination, click .
- Click Next.
- In the EAR application list, select the
enterprise application project you want to export.
- In the Destination field, enter the full
path and EAR file name where you want to export the enterprise application
project that is selected in the EAR application field.
- Optional: To export source files, select the Export
source files check box.
- Optional: If you are exporting to an existing EAR file
and you do not want to be warned about overwriting it, select Overwrite
existing file.
- Click Finish.
The wizard exports the contents of the EAR
project to the specified EAR file. Additionally, for each project that corresponds
to a module or utility JAR in the application, the project contents are exported
into a nested module or JAR file in the EAR file. If any unsaved changes exist
on any of the files in any of the referenced projects, you are prompted to
save these files prior to export.