Creating a custom server component in EAServer

You can install and configure a custom Web DataWindow server component in EAServer Manager. In this procedure, you create a custom version of the EAServer server component with custom properties preset in EAServer Manager.

NoteUsing the Web DataWindow Container Project wizard The procedure in this section describes how to create a custom component in EAServer Manager that uses the generic DataWindow::HTMLGenerator105 interface. You can also create a custom component with a Web DataWindow Container project. For more information, see “The Web DataWindow Container project wizard”.

StepsTo create a Web DataWindow custom component in EAServer:

  1. In the left pane of EAServer Manager, under the server name, right-click Packages and select New Package from the pop-up menu.

  2. In the New Package dialog box, type a package name (you cannot change it later) and click Create A New Package.

    For example, use EmpListPkg to identify a package for an application called EmpList.

  3. On the General tab of the Package Properties dialog box, enter a description of the package and click OK.

    For example, enter DataWindow Components for EmpList app to describe EmpListPkg in terms of the application that you are customizing it for.

  4. In the left pane of EAServer Manager, under the server name, right-click the new package and choose Install Component from the pop-up menu.

  5. In the wizard, choose the Define New Component radio button and click Next.

  6. Specify the name of your custom component (you cannot change it later) and click Finish.

    For example, use EmpListDW to identify a component that uses the d_emplist DataWindow object.

  7. In the Component Properties dialog on the General tab, specify:

    Module and interface

    DataWindow::HTMLGenerator105

    Component Type

    PowerBuilder NVO

    PowerBuilder Class Name

    nv_remote_datawindow

    PowerBuilder Library List

    pbdwr105.pbd

    PowerBuilder Application

    remote_datawindow_appl

  8. On the All Properties tab, add the properties for which you want preset values.