blob: 617ed31e3209ccedf87db0d95b634f1dde1b7ee1 [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="Exporting an enterprise application into an EAR file" />
<meta name="abstract" content="Enterprise applications are deployed in the form of an EAR file. Use the Export wizard to export an enterprise application project into an EAR file for deployment." />
<meta name="description" content="Enterprise applications are deployed in the form of an EAR file. Use the Export wizard to export an enterprise application project into an EAR file for deployment." />
<meta content="enterprise application projects, exporting, EAR files" name="DC.subject" />
<meta content="enterprise application projects, exporting, EAR files" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/tjear.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/tjimpear.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/cjarch.html" />
<meta scheme="URI" name="DC.Relation" content="../topics/cjearproj.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="tjexpear" 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>Exporting an enterprise application into an
EAR file</title>
</head>
<body id="tjexpear"><a name="tjexpear"><!-- --></a>
<h1 class="id_title">Exporting an enterprise application into an
EAR file</h1>
<div class="id_taskbody"><p class="id_shortdesc">Enterprise applications are deployed
in the form of an EAR file. Use the Export wizard to export an enterprise
application project into an EAR file for deployment.</p>
<div class="id_context"> <p class="anchor_topictop">To export
an enterprise application project into an EAR file:</p>
</div>
<ol class="id_steps">
<li class="stepexpand"><span>In the J2EE perspective, click <span class="menucascade"><span class="uicontrol">File</span>
&gt; <span class="uicontrol">Export</span></span>.</span> The Export window
opens.</li>
<li class="stepexpand"><span>Under <span class="uicontrol">Select an export destination</span>, click <span class="menucascade">
<span class="uicontrol">J2EE</span> &gt; <span class="uicontrol">EAR 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">EAR application</span> list, select the
enterprise application project you want to export.</span></li>
<li class="stepexpand"><span>In the <span class="uicontrol">Destination</span> field, enter the full
path and EAR file name where you want to export the enterprise application
project that is selected in the <span class="uicontrol">EAR application</span> field.</span>
</li>
<li class="stepexpand"><strong>Optional: </strong><span>To export source files, select the <span class="uicontrol">Export
source files</span> check box.</span></li>
<li class="stepexpand"><strong>Optional: </strong><span>If you are exporting to an existing EAR file
and you do not want to be warned about overwriting it, select <span class="uicontrol">Overwrite
existing file</span>.</span></li>
<li class="stepexpand"><span>Click <span class="uicontrol">Finish</span>.</span></li>
</ol>
<div class="id_result">The wizard exports the contents of the EAR
project to the specified EAR file. Additionally, for each project that corresponds
to a module or utility JAR in the application, the project contents are exported
into a nested module or JAR file in the EAR file. If any unsaved changes exist
on any of the files in any of the referenced projects, you are prompted to
save these files prior to export.</div>
<div class="id_postreq"><p class="anchor_topicbottom" />
</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/cjearproj.html" title="An enterprise application project ties together the resources that are required to deploy a J2EE enterprise application.">Enterprise application projects</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../topics/tjear.html" title="">Creating an enterprise application project</a></div>
<div><a href="../topics/tjimpear.html" title="Enterprise application projects are deployed into EAR files. You can import an enterprise application project by importing it from a deployed EAR file.">Importing an enterprise application EAR file</a></div>
</div>
</div>
</body>
</html>