dev@jsr311.java.net

Re: JSR311: Issue 44: Optional values for _at_*Param

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Mon, 23 Jun 2008 20:55:19 +0200

Hi,
> Should we make the value of @*Param annotations optional when used
> with fields and bean properties. E.g. should:
>
> @QueryParam String foo;
>
> be equivalent to:
>
> @QueryParam("foo") String foo;
I think it is a good idea.
> Unfortunately this won't work on method parameters since their names
> are not preserved in class files.
IMO a runtime environment should give a strong warning or fully reject
the class.

best regards
   Stephan