Web Service Clients
This section shows how to create and run these types of clients:
Dynamic proxy
Dynamic invocation interface (DII)
Application client
When you run these client examples, they will access the MyHelloService that you deployed in Creating a Simple Web Service and Client with JAX-RPC (page 314).
Dynamic Proxy Client
This example resides in the <INSTALL>/j2eetutorial14/examples/jaxrpc/dynamicproxy/ directory.
The client in the preceding section uses a static stub for the proxy. In contrast, the client example in this section calls a remote procedure through a dynamic proxy, a class that is created during runtime. Although the source code for the static stub client relies on an implementation-specific class, the code for the dynamic ...
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.