Importing RAR files or connectors

You can import a resource adapter archive (RAR) file, or connector, and define a new EAR project and connector module using the Assembly Toolkit.

  1. Start the Assembly Toolkit.

  2. Right-click Connector Modules in a view such as the J2EE Hierarchy view and click Import > Import Connector Module.

  3. In the Import dialog, specify the connector file and project name...

    1. Specify the name of the RAR file to import. Use Browse to locate the RAR file and specify its full path name.

    2. Specify a connector project name. For example, if you are importing the HelloWorld.rar file, you might name the project HelloWorld. Click New, specify HelloWorld for the project name, and click Next.

    3. If you want the connector project not to be part of an enterprise application, specify Standalone connector project.

    4. If the connector project is not to stand alone, name the enterprise archive (EAR) file into which to import the RAR file. The name must be unique among EAR files in the directory.

    5. If you want the Assembly Toolkit to overwrite existing resource files without first warning you that the files are changing, specify Overwrite existing resources without warning. The default is not to overwrite files without warning.

    6. Click Finish.

  4. Verify the contents of the new connector module in either of the following ways...

    • In the J2EE Hierarchy view, expand Enterprise Applications or Connector Modules and view the new modules.

    • Click Window > Show View > Navigator to see the associated files for the connector module in a Navigator view.


See Also

Assembling resource adapter (connector) modules
Assembling applications with the Assembly Toolkit