Walks you through the process of running the generated JSP client to access the AccessBooks Java interface.
Now you are ready to run the JSP client in JBoss. When you run the JSP client, it takes a request from the end user and passes
it to the EJB you generated. The EJB in turn passes the request to the enterprise server, ESDEMO. The original COBOL program
runs on the enterprise server and processes the request, returning the results back to the JSP.
- Start a
command prompt as an administrator (Windows) or
(UNIX) .
- Change to your
%JBOSS_HOME%\bin (Windows) or
(UNIX) directory, and enter
standalone.
- When the JBoss startup script has completed, start a Web browser, and enter the following address:
http://localhost:8080/AccessBooks/AccessBooksMain.jsp
- Click
Read.
- In the
read_readop_input_lnk_b_stockno field, type
1111; then click
Go!.
The service returns the record that corresponds to the
1111 stock number.
- Experiment with running the
Add,
Next, and
Delete options, providing the input required.
This concludes the tutorial.