blob: 0d4561bb74c2264d9680aecbf457b534e1b885a9 [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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- /*******************************************************************************
* Copyright (c) 2000, 2005 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
*******************************************************************************/ -->
<link rel="stylesheet" type="text/css" href="../org.eclipse.wst.doc.user/common.css" />
<title>Creating an application client project</title>
</head>
<body id="tjappproj"><a name="tjappproj"><!-- --></a>
<h1 class="topictitle1">Creating an application client project</h1>
<div><p>You can use a wizard to create a new application client project
and add it to a new or existing enterprise application project.</p>
<div class="section"> <p>Application client projects contain the resources needed for
application client modules. Application client projects contain programs that
run on networked client systems. An application client project is deployed
as a JAR file.</p>
<p>To create a J2EE application client project:</p>
</div>
<ol><li class="stepexpand"><span>In the J2EE perspective, select <span class="menucascade"><span class="uicontrol">File</span> &gt; <span class="uicontrol">New</span> &gt; <span class="uicontrol">Application Client Project</span></span>.</span></li>
<li class="stepexpand"><span>In the <span class="uicontrol">Name</span> field, type a name for the application
client project. </span></li>
<li class="stepexpand"><span>To change the default <span class="uicontrol">Project location</span>,
click the <span class="uicontrol">Browse</span> button to select a new location. If
you specify a non-default project location that is already being used by another
project, the project creation will fail.</span></li>
<li class="stepexpand"><span>Click <span class="uicontrol">Show Advanced</span>.</span></li>
<li class="stepexpand"><span>In the <span class="uicontrol">Target server</span> 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>In the <span class="uicontrol">Module version</span> list, select
the J2EE specification level to which you want your application client project
to adhere.</span></li>
<li class="stepexpand"><span>If you want to add the new module to an enterprise application
(EAR) project, select the <span class="uicontrol">Add module to an EAR application</span> check
box.</span></li>
<li class="stepexpand"><span>In the <span class="uicontrol">EAR application</span> list, type a new
project name or select an existing enterprise application project. Or, click
the <span class="uicontrol">New</span> button to launch the New Enterprise Application
Project wizard.</span> <div class="note"><span class="notetitle">Note: </span>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.</div>
</li>
<li class="stepexpand"><span>Click <span class="uicontrol">Finish</span>.</span></li>
</ol>
</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">Application client projects</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<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><a href="../topics/tjimpapp.html">Importing an application client JAR file</a></div>
</div>
</div>
</body>
</html>