To add a registry

You might want to add a user registry, for example, if you require new registry functionality in an existing application, that is, if you require a registry that works differently to the existing one.

  1. Right-click on User Registries or on a registry ID in Application Properties > User Registries and select Add User Registry.

    The Properties window is displayed.

  2. In the Properties window, make the following settings:

    Unique ID

    This is the ID of the registry on the application server.

    Name

    This is the internal name of the registry; it is referenced by the application components (the UserLogin and Gateway Components). This name is only used in the application model — not in the generated code.

    In the case of a single application deployed on the WAS and multiple registries, both the ID and the Name must be unique between registries. In the case of multiple applications deployed on the WAS, the Names need not be unique.

  3. Click Browse to select the JAR file containing the user registry. This could be, for example; esa-registry-X.X.X.jar.
    Note: The JAR file you select will automatically be copied to a subfolder of the application, normally named registries or userregistries.
  4. Select the Class in the JAR file that implements Websphere’s user registry interface.
  5. Select, optionally, a Properties file.

    The .properties file is used to initiate the application registry. It provides configuration information. For further details, see the Java documentation for the RegistryHub class.

  6. Type the name of the (SQL) Data Source that the user registry uses. For more information, see The Data Source tab.
  7. Type the Connection.
  8. Click OK when you are done.

The user registry is now part of the application and will be deployed together with the rest of the application when you select Infor e-Commerce Development Studio > Deploy Application from Eclipse’s main menu.