dev@fi.java.net

Re: Protocol negotiation code in FI project?

From: Santiago Pericas-Geertsen <Santiago.Pericasgeertsen_at_Sun.COM>
Date: Mon, 10 Jan 2005 10:31:58 -0500

On Jan 10, 2005, at 9:54 AM, Paul Sandoz wrote:

> Given my knowledge of JAX-RPC and its use of HTTP i think it would
> more efficient and easier to support such a feature in JAX-RPC since
> JAX-RPC has control of the request/responses and is best positioned to
> manage the message pattern.

  +1

  All the code in the FI workspace ought to be protocol independent.

> Some general information on content negoatiation.
>
> The HTTP protocol, for the transmission of SOAP messages or XML
> documents, provides all the necessary features to support negotiation.
>
> There are two forms that could be used:
>
> 1) Pessimistic; or
> 2) Optimistic.

  Form number (2) is already implemented. It can be activated by setting
a property on the stub. This code is not yet available from Java.net,
but it should be soon.

-- Santiago