blob: 3df8b4f40103bafc7c2c8eb36831aea8214b467e [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
"task.dtd">
<task id="tjimpapp" xml:lang="en-us">
<title outputclass="id_title">Importing an application client JAR file</title>
<shortdesc outputclass="id_shortdesc">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.</shortdesc>
<prolog><metadata>
<keywords><indexterm>application client projects<indexterm>importing</indexterm></indexterm>
</keywords>
</metadata></prolog>
<taskbody outputclass="id_taskbody">
<context outputclass="id_context"> <p outputclass="anchor_topictop">To import
an application client JAR file using the wizard:</p></context>
<steps outputclass="id_steps">
<step><cmd>In the J2EE perspective, click <menucascade><uicontrol>File</uicontrol>
<uicontrol>Import</uicontrol></menucascade>. The Import window opens.</cmd>
</step>
<step><cmd>Under <uicontrol>Select an import source</uicontrol>, click <menucascade>
<uicontrol>J2EE</uicontrol><uicontrol>App Client JAR file</uicontrol></menucascade>.</cmd>
</step>
<step><cmd>Click <uicontrol>Next</uicontrol>.</cmd></step>
<step><cmd>In the <uicontrol>Application Client file</uicontrol> field, enter
the location and name of the application client JAR file that you want to
import. </cmd><info>You can click the <uicontrol>Browse</uicontrol> button
to select the JAR file from the file system.</info></step>
<step><cmd>In the <uicontrol>Application Client project</uicontrol> field,
type a new project name or select an application client project from the drop-down
list. </cmd><info>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.</info></step>
<step><cmd>In the <uicontrol>Target runtime</uicontrol> 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.</cmd></step>
<step><cmd>If you want to add the new module to an enterprise application
project, select the <uicontrol>Add project to an EAR</uicontrol> check box
and then select an existing enterprise application project from the list or
create a new one by clicking <uicontrol>New</uicontrol>.</cmd><info><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.</note></info>
</step>
<step><cmd>Click <uicontrol>Finish</uicontrol> to import the application client
JAR file.</cmd></step>
</steps>
<postreq outputclass="id_postreq"><p outputclass="anchor_topicbottom"></p></postreq>
</taskbody>
</task>