title: Is it possible to define a jax-rs service interface separated from its implementation (with eclipse and jersey)?
body: <p>I don't know if the title is confusing, but let's say I have this interface:</p>
  
  <pre><code>@Produces(MediaType.APPLICATION_JSON)
  @Path("/user")
  public interface UserService {
  
      @GET
      @Path("/{userId}")
      public Response getUser(@PathParam("userId") Long userId);
  
  }
  </code></pre>
  
  <p>Why when I try to implement a version Eclipse rewrites annotation for the overridden method but not for the class?</p>
  
  <pre><code>class UserServiceImpl implements UserService {
  
      @Override
      @GET
      @Path("/{userId}")
      public Response getUser(@PathParam("userId") Long userId) {
          // TODO Auto-generated method stub
          return null;
      }
  
  }
  </code></pre>
  
  <p>I was trying to create a standard definition for the restful web service and then having different implementations. Is something like this possible with standard jax-rs? Am I using wrong annotations by any chance?</p>