He is scanning for classes with JAX-RS annotations; but I'm wondering if JAX-RS spec has some marker files or similar to avoid this overhead even at runtime - similar to CDI having beans.xml/service file.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira