Application client projects are deployed
as JAR files. You can import an application client project that has been deployed
into a JAR file by using the Import wizard.
To import
an application client JAR file using the wizard:
- In the J2EE perspective, click . The Import window opens.
- Under Select an import source, click .
- Click Next.
- In the Application Client file field, enter
the location and name of the application client JAR file that you want to
import. You can click the Browse button
to select the JAR file from the file system.
- In the Application Client project field,
type a new project name or select an application client project from the drop-down
list. If you type a new name in this field, the application client
project will be created based on the version of the application client JAR
file, and it will use the default location.
- In the Target runtime drop-down list, select
the application server that you want to target for your development. This
selection affects the run time settings by modifying the class path entries
for the project.
- If you want to add the new module to an enterprise application
project, select the Add project to an EAR check box
and then select an existing enterprise application project from the list or
create a new one by clicking New.
Note: If
you type a new enterprise application project name, the enterprise application
project will be created in the default location with the lowest compatible
J2EE version based on the version of the project being created. If you want
to specify a different version or a different location for the enterprise
application, you must use the New Enterprise Application Project wizard.
- Click Finish to import the application client
JAR file.