is there a way to give it a prefix
Take a look at spring configuration and server extensions configuration. REST servlets has configuration for content root. For example, part of web.xml can look like this:
<servlet-mapping>
<servlet-name>RestletServlet</servlet-name>
<url-pattern>/someprefix/*</url-pattern>
</servlet-mapping>
In jboss application server you can make specific file for replace war name:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<context-root>someprefix</context-root>
</jboss-web>