earconvert tool

A command line tool is provided for migrating J2EE 1.2 application modules to J2EE 1.3. This migration enables you to add J2EE 1.3 modules to the migrated application module. See also the (AAT) for information on performing this task.

Migrate J2EE 1.2 application modules to which you want to add J2EE 1.3 level Webapp (WAR), Resource adapter (RAR), Enterprise beans, and client modules. This tool migrates only the application modules. Ensure that you migrate J2EE 1.2-level modules inside a J2EE 1.2 application to prevent working with back-level files.

 

Syntax

Locate the file that contains the earconvert.bat|sh tool, which must reside in the bin directory of the product installation root.

 

earconvert

j2ee_1.2_file_name

j2ee_1.3_file_name
Parameters

Supported arguments include:

 

"j2ee_1.2_file_name"

Specifies the actual name of the existing J2EE 1.2 application file. (In this and other arguments, use quotation marks to allow for path names that contain spaces.)

 

"j2ee_1.3_file_name"

Specifies what you would like to name the new J2EE 1.3 application file.

 

Examples

The following command creates a new J2EE 1.3 archive, new_application.ear , based on the J2EE 1.2 archive, existing_application.ear .

earconvert existing_application.ear new_application.ear


Migrating application modules from J2EE 1.2 to J2EE 1.3