You can migrate enterprise archive (EAR), Web archive (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, Rational Application Developer or
Rational Web Developer.
Before you begin
This topic 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
topic also assumes that you have started the assembly tool and have configured the assembly tool for work on Java 2 Platform,
Enterprise Edition (J2EE) modules.
About this task
You 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, you 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.