Linking a HATS/WebFacing enabled project with a HATS project

Using the Create Linked Project wizard, you can link a HATS/WebFacing enabled project with a HATS project.

By linking a HATS/WebFacing enabled project and HATS project, you can combine applications with converted source and unconverted source. This seamless interoperability allows you to leverage the advantages of both WebFacing and HATS.

Before a screen is displayed in the Web browser, the linked project is scanned for the converted source files. If these files are present, the WebFaced page is shown. Otherwise, the HATS data stream transformation is displayed.

If you do not have a linked HATS/WebFacing project, there is an internal dynamic data stream transformation for WebFacing projects that can be used to handle unconverted source. Please refer to Handling non-WebFaced IBM i applications using dynamic data stream transformation for more information. To Link a HATS/WebFacing enabled project with a HATS project:

  1. In the WebFacing Projects view, right-click a HATS/WebFacing enabled project.
  2. From the pop-up menu, select Link With -> HATS Project.

The Create Linked Project wizard opens, with your WebFacing project name specified by default and a list of your HATS projects for you to select. Only HATS Web projects with a connection type of 5250 or 5250W are displayed in this list. Note: If you select a HATS project with a 5250 connection type, the connection type for the linked HATS/WebFacing project will still be 5250W. The Connection Properties page allows you to specify your host name, port, code page, and screen size. Because you started the wizard by right-clicking the WebFacing project, the connection settings of the WebFacing project will be selected by default. Accept the default connection settings and click Finish to create the linked HATS/WebFacing project. Tip: If the connection information in the WebFacing project is different from the HATS project, you can select a host name and port from values entered for either project. (If you enter the wizard by right-clicking a HATS project, the HATS project values will be selected by default as the host name and port.) You can also provide new values for the host name and port. Code page and Screen size lists contain all valid options, but are pre-set to the HATS project settings. For more information on the settings on this wizard page, press F1 while the page is displayed. Parent topic:Creating a HATS/WebFacing enabled Web project