| <?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" /> |
| <!-- /******************************************************************************* |
| * 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>Removing an EJB client JAR project</title> |
| </head> |
| <body id="teclientjarremove"><a name="teclientjarremove"><!-- --></a> |
| <h1 class="topictitle1">Removing an EJB client JAR project</h1> |
| <div><p>If your EJB project is configured with an associated EJB client |
| JAR project, you can remove the EJB client JAR project. The contents of the |
| EJB client JAR project are combined with the EJB project, all references are |
| updated, and the EJB client JAR project is deleted.</p> |
| <div class="section"><p>The removal of the EJB client JAR project cannot be undone, but |
| you can recreate the EJB client JAR file later. For more information, see <a href="teclientjarcreate.html#teclientjarcreate">Creating an EJB client JAR project</a>.</p> |
| <p>To |
| remove an EJB client JAR project from an EJB project:</p> |
| </div> |
| <ol><li><span>In the Project Explorer view of the J2EE perspective, right-click |
| the EJB module, and select <span class="menucascade"><span class="uicontrol">EJB Client JAR</span> > <span class="uicontrol">Remove EJB Client JAR Project</span></span> from the |
| pop-up menu.</span></li> |
| <li><span>A warning dialog asks you to confirm the removal. Click<span class="uicontrol">Yes</span> to |
| remove the EJB client JAR project.</span></li> |
| </ol> |
| <div class="section">The removal process automatically does the following: <ul><li>Contents of the EJB client JAR project are combined with the EJB project.</li> |
| <li>If duplicate files exist in the EJB project and the EJB client JAR project, |
| then you will be asked whether you want to overwrite.</li> |
| <li>All references are updated:<ul><li>The reference to the EJB client JAR project as a Project Utility JAR is |
| removed from all referencing EAR projects.</li> |
| <li>If the referencing EAR project does not contain the EJB module project, |
| then the EJB module project is added to the referencing EAR project as a Project |
| Utility JAR.</li> |
| <li>Any external class path entries in the EJB client JAR project (for example, |
| a class path entry for xerces.jar) are copied to the EJB project.</li> |
| <li>Any Java™ JAR dependencies (for example, entries in the manifest |
| Class-Path of the EJB client JAR project) are copied to the EJB project. </li> |
| <li>Any Java JAR dependencies of other modules in the EAR projects |
| that contain the EJB client JAR project are updated to reference the EJB project |
| instead of the EJB client JAR project.</li> |
| </ul> |
| </li> |
| <li>The EJB client JAR project is deleted.</li> |
| </ul> |
| </div> |
| </div> |
| <p> |
| (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved. |
| </p> |
| </body> |
| </html> |