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 App
Client Jar file.
- Click Next.
- In the Application Client file field, enter
the location and name of the application client JAR file that you want to
import. Click the Browse button to select the JAR file
from the file system.
- In the Application Client project field,
type a new project or select an application client project from the drop-down
list. Or, click the New button to launch the New Application
Client Project wizard. 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. Use the New button
to change the J2EE version and the location.
- If you are importing to an existing project, select Overwrite
existing resources without warning.
- In the Target server 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.
- Specify whether you want to add the new module to an enterprise
application (EAR) project.
- In the EAR application field, type a new
project name or select an existing enterprise application project from the
drop-down list. Or, click the New button to launch
the New Enterprise Application Project wizard.
Note: If you type
a new EAR project name, the EAR 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.