Walks you through the process of running the generated JSP client to access the new service.
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.
- At a command prompt, change to your
%JBOSS_HOME%\bin 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 completes the EJB Service Interface tutorial.
Note: If you plan to continue with another IMTK tutorial, stop the ESDEMO
enterprise server instance before continuing.