The Example JSP Pages
This chapter illustrates JSP scripting elements using webclient, a version of the hello1 example introduced in Chapter 3 that accesses a Web service. To build, package, deploy, and run the webclient example, follow these steps:
1. | Build and deploy the JAX-RPC Web service MyHelloService described in Creating a Simple Web Service and Client with JAX-RPC (page 314). |
2. | In a terminal window, go to <INSTALL>/j2eetutorial14/examples/jaxrpc/webclient/. |
3. | Run asant build. This target will spawn any necessary compilations and will copy files to the <INSTALL>/j2eetutorial14/examples/jaxrpc/webclient/build/ directory. |
4. | Start the Application Server. |
5. | Start deploytool. |
6. | Create a Web application called webclient by running the New ... |
Get The J2EE™ Tutorial Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.