AppConn Java Examples

You can use the Web Builder tool to create Java projects, based on the "demo" models provided with Verastream Host Integrator, and then examine the Java code in your projects to see how the Java connector works.

Pacific Department Stores Demo

The Pacific Department Stores web front-end provides users with a simple, easy-to-use interface to a mainframe application. The mainframe application's business processing is accessed through a Verastream model.

The demo is deployed to the local server and uses the Host Emulator to simulate the mainframe application. Before you run the demo, make sure that the localhost server is running in the Host Emulator.

To run the Pacific Department Stores demo:

  1. Deploy the PurchasesDemo and CICSAcctsDemo models to localhost. You can find these models in the Micro Focus\Verastream\HostIntegrator\examples\ModelSamples directory.
  2. Type or paste this URL into your browser: http://localhost:8081/PacificDepartmentStores.
  3. Login as a CSR (Customer Services Representative).
  4. Display, modify, or add customer accounts.

    Because the mainframe application is just a simulation in this case, available data is limited to customers with names beginning with K or W, and to account numbers 20000 through 20004.

Related Topics
Bullet AppConn Package class overview (Javadoc)
Bullet Index of all Java methods