blob: 359639ceb9ad8c4caef2e28064b419d9e669415f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2006 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2006" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Importing an application client JAR file" />
<meta name="abstract" content="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." />
<meta name="description" content="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." />
<meta content="application client projects, importing" name="DC.subject" />
<meta content="application client projects, importing" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/tjappproj.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/tjexpapp.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/cjarch.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/cjappcliproj.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="tjimpapp" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Importing an application client JAR file</title>
</head>
<body id="tjimpapp"><a name="tjimpapp"><!-- --></a>
<h1 class="topictitle1" id="title">Importing an application client JAR file</h1>
<div id="taskbody"><div 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.</div>
<div class="section" id="context"> <anchor id="topictop"></anchor><p>To import
an application client JAR file using the wizard:</p>
</div>
<ol id="steps">
<li class="stepexpand"><span>In the J2EE perspective, click <span class="menucascade"><span class="uicontrol">File</span>
&gt; <span class="uicontrol">Import</span></span>. The Import window opens.</span>
</li>
<li class="stepexpand"><span>Under <span class="uicontrol">Select an import source</span>, click <span class="menucascade">
<span class="uicontrol">J2EE</span> &gt; <span class="uicontrol">App Client JAR file</span></span>.</span>
</li>
<li class="stepexpand"><span>Click <span class="uicontrol">Next</span>.</span></li>
<li class="stepexpand"><span>In the <span class="uicontrol">Application Client file</span> field, enter
the location and name of the application client JAR file that you want to
import. </span> You can click the <span class="uicontrol">Browse</span> button
to select the JAR file from the file system.</li>
<li class="stepexpand"><span>In the <span class="uicontrol">Application Client project</span> field,
type a new project name or select an application client project from the drop-down
list. </span> 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.</li>
<li class="stepexpand"><span>In the <span class="uicontrol">Target runtime</span> 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.</span></li>
<li class="stepexpand"><span>If you want to add the new module to an enterprise application
project, select the <span class="uicontrol">Add project to an EAR</span> check box
and then select an existing enterprise application project from the list or
create a new one by clicking <span class="uicontrol">New</span>.</span> <div class="note"><span class="notetitle">Note:</span> 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.</div>
</li>
<li class="stepexpand"><span>Click <span class="uicontrol">Finish</span> to import the application client
JAR file.</span></li>
</ol>
<div class="section" id="postreq"><anchor id="topicbottom"></anchor>
</div>
</div>
<div><div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../topics/cjarch.html" title="The Java 2 Platform, Enterprise Edition (J2EE) provides a standard for developing multitier, enterprise services.">J2EE architecture</a></div>
<div><a href="../topics/cjappcliproj.html" title="">Application client projects</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../topics/tjappproj.html" title="You can use a wizard to create a new application client project and add it to a new or existing enterprise application project.">Creating an application client project</a></div>
<div><a href="../topics/tjexpapp.html" title="You can export an application client project as a JAR file.">Exporting an application client project</a></div>
</div>
</div>
</body>
</html>