jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: Client API is very complex

From: Markus KARG <markus_at_headcrashing.eu>
Date: Wed, 29 Jun 2011 19:44:17 +0200

run()

> -----Original Message-----
> From: Marek Potociar [mailto:marek.potociar_at_oracle.com]
> Sent: Dienstag, 28. Juni 2011 20:03
> To: jsr339-experts_at_jax-rs-spec.java.net
> Subject: [jsr339-experts] Re: Client API is very complex
>
> FYI: Santiago gave me an interesting feedback today:
> "invocation.invoke()" seem to not read particularly well as the
> "invoke" information is conveyed twice.
>
> I am considering to rename the "invoke" method to "run" or "execute". A
> question to all: what is your preference?
>
> Marek
>
> On 06/28/2011 04:40 PM, Bill Burke wrote:
> >
> > invoke()/queue() works nicely with the Command Pattern. A generic
> subsystem could gather up Invocation requests and
> > invoke them without worrying about what the method is or which Client
> it was created from.
> >
> > Bill