Migrate code artifacts to an assembly tool
We can migrate EAR, WAR, enterprise bean (EJB) JAR, application client JAR, resource adapter archive (RAR) files created with the Application Assembly Tool (AAT), Assembly Toolkit or a different tool to the Application Server Toolkit or Rational Web Developer.
Before you begin
This article assumes you have previously assembled code artifacts that you want to work with in an assembly tool such as the Application Server Toolkit (AST) or Rational Web Developer.This article also assumes that you have started the assembly tool and have configured the assembly tool for work on J2EE modules.
Overview
We can migrate EAR, WAR, enterprise bean JAR, application client JAR, or RAR projects or files to an assembly tool using the J2EE Migration wizard or by importing the files.
Procedure
- Optional: Migrate a project from J2EE 1.2 to 1.3 or 1.4, or from J2EE 1.3 to 1.4, using the J2EE Migration wizard. As part of the migration, one can migrate CMP 1.x beans to CMP 2.x beans. The J2EE Migration wizard is similar to the earconvert batch utility or the File > ConvertEar option of the AAT.
- In the Project Explorer view, right-click the enterprise application project (EAR file) you want to migrate.
- Click Migrate > J2EE Migration Wizard.
- Follow the instructions in the wizard.
- Import an enterprise application.
- Import a WAR file.
- Import an application client file.
- Import an enterprise bean JAR file.
- Import a resource adapter RAR file. RAR files are also known as connectors.
What to do next
After importing your previously assembled files into an assembly tool, do the following:
- Verify the archive files.
- Deploy the imported and assembled module or application.
See also
Import enterprise applications
Import WAR files
Import client applications
Import EJB files
Import RAR files or connectors
See Also
Application assembly and J2EE applications
Enterprise (J2EE) applications
EJB modules
See Also
Archive support in v6
Rational is a trademark of the IBM Corporation in the United States, other countries, or both.