I added this issue as JAX_RS_SPEC-59 [1].
[1]
http://java.net/jira/browse/JAX_RS_SPEC-59
On 3/10/11 11:49 PM, Adam Bien wrote:
> Hi Guilherme,
>
> you mean:
>
>>>> @Path("something")
>>>> @GET
>>>> public Response something(...
>>>>
>>>> @Path("something")
>>>> class SomethingResource {
>>>> }
> should be
>
>
> @Path
> public Response something
>
> and
>
> @Path
> class SomethingResource ?
>
>
> Then +1. I get questions in every workshop, why we have to specify that redundantly. We cannot go to far, because a JAX-Resource can be also an EJB or managed bean at the same time.
>
> In general - we should minimize the total amount of required annotations.
>