Importing a Java class or interface in EAServer Manager

StepsImporting a Java class or interface in EAServer Manager

  1. If necessary, create the EAServer package that will contain the component. See “Creating a new package” for details.

  2. Specify the package to install the component in as follows:

    1. Double-click the Packages folder to expand it.

    2. Highlight the package to which the component will be added.

  3. Choose File | New Component from the menu.

  4. In the Component Wizard dialog box, select Import from Java File, and click Next.

  5. Verify that the displayed importer CLASSPATH contains the JAR files and directories required to instantiate the bean’s classes, specifically:

    If necessary, use the Add, Modify, Delete, Move Up, and Move Down buttons in the Component Wizard to modify the CLASSPATH. The displayed CLASSPATH affects only this importer session, not the EAServer process.

  6. Enter the component name in the Import Java Class File dialog box.

  7. Choose the type of file to be imported:

  8. If importing a Java interface, choose the type of component to be defined in the drop-down list.

  9. Browse for the Java class file that contains the class or interface that is being imported.

The importer will read the specified file, define an IDL interface as described below, and define a component that implements the IDL interface.