This scenario will use the Host Publisher Studio to create an application for the Basic Integration Object example which was created using Host Access. Bring up the IBM WebSphere Host Publisher - Studio.
The Welcome to Host Publisher Studio screen appears. Click on Create Application.
The New Application window asks for the name of this application. Fill in a name to identify the application, and click Next.
Indicate I prefer to start with data, and click Next.
We have already created the Integration Objects in Host Access. Therefore, click Import to obtain a list of the existing Integration Objects and select the object for this application.
Highlight the Integration Object (Basic_Example.jar) to import into the application. Then click Open (Open selected file).
You are presented with the New Application screen again. In this example, we are only working with one Integration Object; therefore, we are ready to define how the object will be used. Click Define.
Read the text in the Wizard carefully. You are being asked to choose the name of the page to run the Integration Object and display its output. Therefore, you must name the OUTPUT page. To help distinguish between input and output pages, use the word in the name of this page. After you have selected Create a new page and supplied a name, click Next.
Host Publisher has determined that your Integration Object requires an input page as well. Therefore, you are now presented with the input variable. Click Define to specify how to obtain the input data. Note the field, setAuthor, is the name of the input method which was created in the Host Access for the author variable.
Indicate that the data is obtained from A new input field, and click Next.
If there was already an input page defined, you could add this input to an existing form. However we want to create a new form to request the user for the input. Select Create a new form and click Next.
You are now asked to Type a name for the new form page. This will be the name of the Input page which will ask the user for the name of an author for the University of Michigan's Library Database. There is also a Label for the submit button. You can rename this button, or use the default Submit. When you have finished, click Next.
You are now going to create the type of control to be used for the input. In this example, we will create an Edit box into which the name can be entered. After making your selection, click Next.
A label (caption) can be used. Use this space to tell the user what type of data to input in the provided edit box. Then click Finish.
You are now back to the screen where you started defining the input. Click Next since you have completed defining the input data.
We are now back to working with the Output page. You need to specify how the output will be presented on the page. Since we are creating a table, select the output which supports multiple values, then click Render.
You have the option of creating a table or a list box. In this example, select Table then click Next.
If you want a descriptive caption for the output, type the text here and click Next.
Our output only has one column. To change the text in the column header, click Modify.
You are now presented with the Edit Column Name window. Modify the column name and click OK.
You are now returned to the Insert Output Control - Table window. If you had more columns, you could reposition them, and Modify the header text. When you are finished, click Finish.
You are finished rendering the data. Click Next.
You can now preview the input and output pages. When you are finished, click Finish.
The Integration Object in this application now shows up as Defined. Click Finish to save this application.
The application can be saved and transferred to the server. From the File menu, select Transfer to Server, and transfer the application to a Host Publisher Server that you specify.
Once this is successful, go to Host Publisher Administration and deploy the application.
For more information on deploying and running your Web application,
refer to the Administrator's and User's Guide.