Client-Side Stub
Sponsored by

A client side stub is a piece of code that sits on the requesting side of a consumer / producer relationship. The code is responsible for invoking remote proceducres, marshalling objects and listening for results. The stub works hand-in-hand with a server-side skeleton. In many modern day architectures, stubs and skeletons are produced automatically by an application or SOAP server.

The client code is usually exposed as an API. These API’s are often standardized. For instance JAX-M and JAX-RPC are examples of standardized API’s for making web service calls. In addition to the standardized API, the underlying wire protocol for object serialization and invocation is standardized as well (SOAP). This enables cross-platform capabilities.


Home | Table of Contents | More Info |