dev@jsr311.java.net

Re: New sketch of updated APIs

From: Dhanji R. Prasanna <dhanji_at_gmail.com>
Date: Fri, 20 Apr 2007 17:09:23 +1000

On 4/20/07, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
>
> Marc Hadley wrote:
> > Having played with it a little I think I prefer the builder approach,
> > its very flexible for fine tuning a response and the static methods of
> > Response maintain the simplicity of creating a particular kind of
> > response that contains all the necessary metadata.
> >
>
> +1


=)

Is the builder going to sit as a pre-annotated utility with optionally
creating your own annotated versions?
I believe the canonical case should encourage one and offer the other as a
seldom-use/low-level alternative. I propose the builder as the standard
approach.

Dhanji.