WebSphere Host Publisher
Basic Example README
In this package you will find instructions on how to create an Integration
Object using Host Access, how to use it in Host Publisher Studio in
building a Web application, and what the final product looks like using
the Host Simulator.
This sample contains the following parts, organized by directories:
-
HostPubSamples\basic\doc - contains documentation that takes you
through the step-by-step instructions on how to create an Integration Object
using Host Access and then how to create the Web application using Host
Publisher Studio. Open the Basic_Example.html file in a Web browser to
begin.
-
HostPubSamples\basic\simulator - contains the trace file for use
with the Host Simulator to replay the host-side of the sample application.
That way, you can work with this sample and even build your own without
having to actually attach to the host system. You can download a copy of
the Host Simulator from http://www.ibm.com/software/webservers/hostpublisher/downloads.html.
There is also a file in the doc sub directory, Host_Simulator.html, that
takes you through the step-by-step instructions for using the Host Simulator.
Please note that in order for this simulator trace file to work correctly,
you must use the same author's name that was used in the sample as input
to the Integration Object. In this case it is "king stephen". Also,
after you run the trace should you receive this error: input received
does not match trace, disregard it. This error is benign and
only means that the client did not reproduce its side of the conversation
exactly as it was recorded.
-
HostPubSamples\basic\Studio - contains a completed sample. You should
copy the contents of this directory into your version of Host Publisher
Studio (e.g. C:\hostpub\Studio) and refer to them from
there instead of attempting to load the Integration Object and Web application
directly from HostPubSamples\basic\Studio.
-
HostPubSamples\basic\Studio\Integration Objects - contains the completed
sample Integration Object files. You can load this sample in Host Access
and see how it was built and even run it against the simulator.
-
HostPubSamples\basic\Studio\SessionDefs - contains the connection
definitions for accessing the public host site used in this sample.
-
HostPubSamples\basic\Studio\Basic_Example - contains the sample
Web application using the sample Integration Object. There is also
a file in the doc sub directory, Host_Publisher_Studio_Basic.html, that
takes you through the step-by-step instructions for creating a Web application
from your Integration Object.
This package allows you to understand how to produce an Integration Object
and build a Web application to use it. We recommend that you start with
the documentation and familiarize yourself with the steps. Use the Host
Simulator if you cannot access the public site directly over the Internet.
For more information on how to use Host Publisher, review the Administrator's
and User's Guide installed with the product. There are also additional
examples and samples on the Internet that can be downloaded from the same
page as the Host Simulator (see above).