Hi

JAX-RS spec says:

* Resource classes are POJOs that have at least one method annotated with
@Path or a request method designator.*

I feel a Resource class should have both the annotations (@Path and method
designator) for it to be called as a Resource. If there is no request method
designator annotation like @POST or @GET, the existence of Resource does not
really make sense. Is the spec misleading or have I got it wrong? Any
thoughts?

Thanks

Raj

Reply via email to