According to JAXRS spec, is @ApplicationPath can be used on interface?

```
import javax.ws.rs.ApplicationPath;

@ApplicationPath("/")
public interface TestRes {

}

```

Compiler dont have a problem with that. But is this good approach?