Summary
JAX-WS offers a number of mechanisms for accessing and manipulating information about the transports and bindings being used to propagate messages. One of them is them is the use of contexts. Contexts allow application level business logic to inspect and modify the attributes of the underlying messaging structures. Using the contexts in this way does, however, come at a price. It locks your application into using the particular messaging systems for which the applicaiton was originally developed.