Hello Marc,
> public class SomeClass {
>
> @PathParam("id") int id;
>
> ...
> }
>
> will cause problems if SomeClass is a singleton because you can't
> (AFAIK) proxy an int.
why could you not inject the int directly? Why do we need a proxy?
I changed the annotations @HeaderParam and @PathParam local for me, so
that they are allowed on fields. It works fine with String and int.
Stephan