18.1. JAX-RPC Clients

The JAX-RPC specification describes three ways in which clients can access the service: via stubs, via a dynamic proxy, and via the dynamic invocation interface (DII). The dynamic proxy access is not yet supported by the reference implementation, so we won't develop an example using that method. But we will create examples for the other two methods.

Software Used in This Chapter

JAX-RPC

EA2 (Early-Access 2) version, from the Java XML Pack, spring 2002 release.

18.1.1. Static Access via Stubs

We've already shown this method of access in Chapter 16. In that chapter, the xrpcc tool was using our Java interfaces as a starting point from which to create the stubs. For a remote Web-Service client, we would instead start with ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services 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.